diff --git a/src/ui/actions.c b/src/ui/actions.c index 3d11181..58c94ec 100644 --- a/src/ui/actions.c +++ b/src/ui/actions.c @@ -91,7 +91,7 @@ void on_editmode_action(GSimpleAction *action, g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self)); - g_application_quit(G_APPLICATION(self)); + uiWindowStackChange("edit"); } void on_runmode_action(GSimpleAction *action, @@ -102,7 +102,7 @@ void on_runmode_action(GSimpleAction *action, g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self)); - g_application_quit(G_APPLICATION(self)); + uiWindowStackChange("run"); } void on_presentmode_action(GSimpleAction *action, @@ -113,7 +113,7 @@ void on_presentmode_action(GSimpleAction *action, g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self)); - g_application_quit(G_APPLICATION(self)); + uiWindowStackChange("presentation"); } void on_openfile_action(GSimpleAction *action,