diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-07-15 01:07:21 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-07-15 01:07:21 +0200 |
commit | 80b3efff11a34e2df7d1bc4cc3187e6aaf57e687 (patch) | |
tree | 0e09e162ccc24decf6e10397b2fb3963da1d364d /api/logic/minecraft/SimpleModList.h | |
parent | e4273d6a174ffb771728f32b5e2a8a36096c4e21 (diff) | |
download | PrismLauncher-80b3efff11a34e2df7d1bc4cc3187e6aaf57e687.tar.gz PrismLauncher-80b3efff11a34e2df7d1bc4cc3187e6aaf57e687.tar.bz2 PrismLauncher-80b3efff11a34e2df7d1bc4cc3187e6aaf57e687.zip |
NOISSUE Do not hide mods list pages when the instance is running.
Instead, disable (most of) the controls.
Diffstat (limited to 'api/logic/minecraft/SimpleModList.h')
-rw-r--r-- | api/logic/minecraft/SimpleModList.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/logic/minecraft/SimpleModList.h b/api/logic/minecraft/SimpleModList.h index 3ed2edfe..8cb57727 100644 --- a/api/logic/minecraft/SimpleModList.h +++ b/api/logic/minecraft/SimpleModList.h @@ -106,6 +106,9 @@ public: return mods; } +public slots: + void disableInteraction(bool disabled); + private slots: void directoryChanged(QString path); @@ -116,6 +119,7 @@ signals: protected: QFileSystemWatcher *m_watcher; bool is_watching = false; + bool interaction_disabled = false; QDir m_dir; QList<Mod> mods; }; |