X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fselect.cpp;h=5d34645a8e4dccf267213cdaffe6b6687d386b8b;hb=de492e9d54db1afeecddf57a5d10002dfd09c2d5;hp=4246ab428d0eee68eb287baaa080d5dd0e57f37d;hpb=7fc621fc78d0e040dc2c12f38dc53dd9048215dc;p=xonotic%2Fnetradiant.git diff --git a/radiant/select.cpp b/radiant/select.cpp index 4246ab42..5d34645a 100644 --- a/radiant/select.cpp +++ b/radiant/select.cpp @@ -900,7 +900,7 @@ static gboolean rotatedlg_cancel( GtkWidget *widget, RotateDialog* rotateDialog static gboolean rotatedlg_ok( GtkWidget *widget, RotateDialog* rotateDialog ){ rotatedlg_apply( widget, rotateDialog ); - rotatedlg_cancel( widget, rotateDialog ); + gtk_widget_hide( GTK_WIDGET( rotateDialog->window ) ); return TRUE; } @@ -1052,7 +1052,7 @@ static gboolean scaledlg_cancel( GtkWidget *widget, ScaleDialog* scaleDialog ){ static gboolean scaledlg_ok( GtkWidget *widget, ScaleDialog* scaleDialog ){ scaledlg_apply( widget, scaleDialog ); - scaledlg_cancel( widget, scaleDialog ); + gtk_widget_hide( GTK_WIDGET( scaleDialog->window ) ); return TRUE; }