mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
fix infinite loop in bobtoolz modal dialog after "enter illegal data;ok;get msg box;ok;close dialog window;get msg box"
This commit is contained in:
@@ -100,6 +100,8 @@ static gint dialog_delete_callback( GtkWidget *widget, GdkEvent* event, gpointer
|
||||
loop = (int*)g_object_get_data( G_OBJECT( widget ), "loop" );
|
||||
*loop = 0;
|
||||
|
||||
*(EMessageBoxReturn*)g_object_get_data( G_OBJECT( widget ), "ret" ) = eIDCANCEL;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user