summaryrefslogtreecommitdiff
path: root/src/executableslist.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-07 21:03:25 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-06-15 14:40:40 -0400
commit39d953c838d459085b4044c9ca5bda0248e47f6b (patch)
treede1f9dc6eca590403d42d00dcfe65eb831891bec /src/executableslist.cpp
parent5556e2b152decad3392c30c9760a5584454b52e6 (diff)
load plugin executables after settings, allows for changing the order
added warning that an executable is provided by a plugin, disable widgets that can't be changed refactoring EditExecutablesDialog
Diffstat (limited to 'src/executableslist.cpp')
-rw-r--r--src/executableslist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/executableslist.cpp b/src/executableslist.cpp
index d884bdf2..8174eb1b 100644
--- a/src/executableslist.cpp
+++ b/src/executableslist.cpp
@@ -65,8 +65,6 @@ bool ExecutablesList::empty() const
void ExecutablesList::load(const MOBase::IPluginGame* game, QSettings& settings)
{
- addFromPlugin(game);
-
qDebug("setting up configured executables");
int numCustomExecutables = settings.beginReadArray("customExecutables");
@@ -91,6 +89,8 @@ void ExecutablesList::load(const MOBase::IPluginGame* game, QSettings& settings)
}
settings.endArray();
+
+ addFromPlugin(game);
}
void ExecutablesList::store(QSettings& settings)