diff options
-rw-r--r-- | widgets/table/e-table-config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index 825e28a5a4..9d8afdb20b 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -442,7 +442,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort) config->temp_state->sort_info, 0); } update_sort_and_group_config_dialog (config, is_sort); - continue; + break; case GTK_RESPONSE_OK: g_object_unref (config->state); @@ -452,6 +452,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort) config_dialog_changed (config); break; + case GTK_RESPONSE_DELETE_EVENT: case GTK_RESPONSE_CANCEL: g_object_unref (config->temp_state); config->temp_state = 0; @@ -491,7 +492,7 @@ do_fields_config_dialog (ETableConfig *config) config_dialog_changed (config); break; - /* CANCEL */ + case GTK_RESPONSE_DELETE_EVENT: case GTK_RESPONSE_CANCEL: g_object_unref (config->temp_state); config->temp_state = 0; |