summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/preview.c')
-rw-r--r--gtk/src/preview.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index 8cdf4eb3e..a63f61b2d 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -1278,14 +1278,13 @@ picture_settings_alt2_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud)
gtk_widget_set_tooltip_text(toggle,
_("Hide the picture settings window while "
"leaving the preview visible."));
- gtk_widget_show(window);
}
else
{
gtk_button_set_label(GTK_BUTTON(toggle), _("Show Settings"));
gtk_widget_set_tooltip_text(toggle, _("Show picture settings."));
- gtk_widget_hide(window);
}
+ gtk_widget_set_visible(window, !active);
}
G_MODULE_EXPORT void