From 80b3efff11a34e2df7d1bc4cc3187e6aaf57e687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 15 Jul 2019 01:07:21 +0200 Subject: NOISSUE Do not hide mods list pages when the instance is running. Instead, disable (most of) the controls. --- api/logic/minecraft/SimpleModList.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'api/logic/minecraft/SimpleModList.h') 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 mods; }; -- cgit v1.2.3