Mode changing via menu !

This commit is contained in:
Adrien Bourmault 2023-01-25 19:08:19 +01:00
parent bf6db3fa34
commit 9c42fae1f2
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ void on_editmode_action(GSimpleAction *action,
g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self)); g_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self));
g_application_quit(G_APPLICATION(self)); uiWindowStackChange("edit");
} }
void on_runmode_action(GSimpleAction *action, 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_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self));
g_application_quit(G_APPLICATION(self)); uiWindowStackChange("run");
} }
void on_presentmode_action(GSimpleAction *action, 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_assert(GEM_GRAPH_CLIENT_IS_APPLICATION(self));
g_application_quit(G_APPLICATION(self)); uiWindowStackChange("presentation");
} }
void on_openfile_action(GSimpleAction *action, void on_openfile_action(GSimpleAction *action,