From ff2e303f8653c5ed1c458b73bda2ee19617e3628 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Thu, 24 Aug 2017 02:52:30 +0900 Subject: gtk: dialog behavior when already shown --- gtk/toneview.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk/toneview.c') diff --git a/gtk/toneview.c b/gtk/toneview.c index 64c4e98..99117d5 100644 --- a/gtk/toneview.c +++ b/gtk/toneview.c @@ -122,5 +122,7 @@ void show_toneview(void) { } gtk_widget_add_tick_callback(g.tonewin, tick_cb, 0, 0); gtk_widget_show_all(g.tonewin); + } else { + gtk_window_present(GTK_WINDOW(g.tonewin)); } } -- cgit v1.2.3