summaryrefslogtreecommitdiff
path: root/src/executableslist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/executableslist.cpp')
-rw-r--r--src/executableslist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/executableslist.cpp b/src/executableslist.cpp
index 8174eb1b..f592a2b7 100644
--- a/src/executableslist.cpp
+++ b/src/executableslist.cpp
@@ -67,6 +67,8 @@ void ExecutablesList::load(const MOBase::IPluginGame* game, QSettings& settings)
{
qDebug("setting up configured executables");
+ m_Executables.clear();
+
int numCustomExecutables = settings.beginReadArray("customExecutables");
for (int i = 0; i < numCustomExecutables; ++i) {
settings.setArrayIndex(i);