From f99190895bed910653303232ec576d10902736c7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 30 Sep 2018 19:53:35 +0200 Subject: Open mainwindow in disabled state until a project is either loaded or created. --- src/mainwindow.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 2c12950..e83b6a5 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -80,6 +80,9 @@ private: //! Reset project and reflect in mainwindow (close tabs and lists) void reset(); + //! Controls wether the window components are enabled for the user to use. + void setWindowEnabled(bool enabled); + void loadSettings(); void saveSettings(); -- cgit v1.2.3