NOISSUE Do not hide mods list pages when the instance is running.

Instead, disable (most of) the controls.
This commit is contained in:
Petr Mrázek
2019-07-15 01:07:21 +02:00
parent e4273d6a17
commit 80b3efff11
5 changed files with 77 additions and 14 deletions

View File

@ -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;
};