summaryrefslogtreecommitdiff
path: root/src/editexecutablesdialog.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-08 19:38:56 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-10-08 19:38:56 -0400
commit0ea975248b8cdb8319d3a366616f8d852726f83c (patch)
tree5295263ea3488f409c017cc50434f498ebd115a2 /src/editexecutablesdialog.cpp
parent52db7e8c7ddd39609a8eecbf44fa15ec6369f843 (diff)
remove separators and backups from mod list in the edit executables dialog
Diffstat (limited to 'src/editexecutablesdialog.cpp')
-rw-r--r--src/editexecutablesdialog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/editexecutablesdialog.cpp b/src/editexecutablesdialog.cpp
index 19b57e9a..b56fdc41 100644
--- a/src/editexecutablesdialog.cpp
+++ b/src/editexecutablesdialog.cpp
@@ -71,7 +71,12 @@ EditExecutablesDialog::EditExecutablesDialog(OrganizerCore& oc, int sel, QWidget
loadCustomOverwrites();
loadForcedLibraries();
- ui->mods->addItems(m_organizerCore.modList()->allMods());
+ for (auto&& m : m_organizerCore.modList()->allMods()) {
+ if (ModInfo::isRegularName(m)) {
+ ui->mods->addItem(m);
+ }
+ }
+
fillList();
setDirty(false);