diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-09 20:47:38 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-10 10:27:31 +0100 |
| commit | 5a7bd3db677b037191b7e61e52bad682e0faffb9 (patch) | |
| tree | 4b7715f8dd69c99d18fa5bca025d7905af0d6f13 /src/modlistcontextmenu.cpp | |
| parent | 342d529dd6ad36ecc3455927dbe5a1d10cbb648b (diff) | |
Re-add 'Create empty mod' and 'Create separator' to global mod list context menu.
Diffstat (limited to 'src/modlistcontextmenu.cpp')
| -rw-r--r-- | src/modlistcontextmenu.cpp | 4 |
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(); |
