diff options
Diffstat (limited to 'gtk/oscilloview.c')
-rw-r--r-- | gtk/oscilloview.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/oscilloview.c b/gtk/oscilloview.c index e2893c6..0219766 100644 --- a/gtk/oscilloview.c +++ b/gtk/oscilloview.c @@ -77,6 +77,8 @@ void show_oscilloview(void) { gtk_container_add(GTK_CONTAINER(g.win), drawarea); g_signal_connect(drawarea, "draw", G_CALLBACK(draw_cb), 0); gtk_widget_add_tick_callback(drawarea, tick_cb, 0, 0); + gtk_widget_show_all(g.win); + } else { + gtk_window_present(GTK_WINDOW(g.win)); } - gtk_widget_show_all(g.win); } |