summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-09 20:47:38 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-10 10:27:31 +0100
commit5a7bd3db677b037191b7e61e52bad682e0faffb9 (patch)
tree4b7715f8dd69c99d18fa5bca025d7905af0d6f13
parent342d529dd6ad36ecc3455927dbe5a1d10cbb648b (diff)
Re-add 'Create empty mod' and 'Create separator' to global mod list context menu.
-rw-r--r--src/modlistcontextmenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modlistcontextmenu.cpp b/src/modlistcontextmenu.cpp
index f5307dc7..78949be3 100644
--- a/src/modlistcontextmenu.cpp
+++ b/src/modlistcontextmenu.cpp
@@ -27,6 +27,10 @@ ModListGlobalContextMenu::ModListGlobalContextMenu(OrganizerCore& core, ModListV
addAction(tr("Create Separator"), [=]() { view->actions().createSeparator(index); });
}
}
+ else {
+ addAction(tr("Create empty mod"), [=]() { view->actions().createEmptyMod(); });
+ addAction(tr("Create Separator"), [=]() { view->actions().createSeparator(); });
+ }
if (view->hasCollapsibleSeparators()) {
addSeparator();