summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-09-30 19:53:35 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-09-30 19:53:35 +0200
commitf99190895bed910653303232ec576d10902736c7 (patch)
treec0ebccb7f0f9b283c4269c6163b61d65782ce235 /src/mainwindow.h
parent90d54a3aa48f8b1c050754f866ef0cf013f4f06b (diff)
Open mainwindow in disabled state until a project is either loaded or created.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h3
1 files changed, 3 insertions, 0 deletions
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();