← easystroke

Show configuration window if we have no actions

f9bb03192ab1028b68e5d605c32fc55f0fa06f6c · Thomas Jaeger · Oct 13, 2012 01:09

This should make easystroke a little more friendly to new users.

+1 −1 · 1 file changed

  • main.cc +1 −1
diff --git a/main.cc b/main.cc
index 0ab6e9e..3fb1d78 100644
--- a/main.cc
+++ b/main.cc
@@ -1235,7 +1235,7 @@ void Main::run() {
 		exit(EXIT_FAILURE);
 	}
 	win = new Win;
-	if (show_gui)
+	if (show_gui || !actions.get_root()->size_rec())
 		win->get_window().show();
 	Gtk::Main::run();
 	delete win;