diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2021-12-24 17:54:55 -0600 |
|---|---|---|
| committer | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2023-09-21 17:24:57 -0500 |
| commit | b9f05672b9692c96d39b8ff27e571a30cb82cd44 (patch) | |
| tree | bc70062f89132142c6d513ed3dffe902f10b3caf /src/modlistcontextmenu.cpp | |
| parent | 535623693e63569f485c15984274ea65c4d0c872 (diff) | |
Allow remapping category from 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 66766b0e..096976c1 100644 --- a/src/modlistcontextmenu.cpp +++ b/src/modlistcontextmenu.cpp @@ -561,6 +561,10 @@ void ModListContextMenu::addRegularActions(ModInfo::Ptr mod) } } + if (mod->nexusId() > 0 && !mod->installationFile().isEmpty()) { + addAction(tr("Remap Category (From Nexus)"), [=]() { m_actions.remapCategory(m_selected); }); + } + if (mod->nexusId() > 0 && Settings::instance().nexus().trackedIntegration()) { switch (mod->trackedState()) { case TrackedState::TRACKED_FALSE: { |
