diff options
| author | Jeremy Rimpo <jrim@rimpo.org> | 2023-11-16 23:38:30 -0600 |
|---|---|---|
| committer | Jeremy Rimpo <jrim@rimpo.org> | 2023-11-16 23:57:16 -0600 |
| commit | 773e3acd588209537877f7068b60c4125c86c630 (patch) | |
| tree | 614ae113eee2bdc01f89a228a9219ba8fe7093e8 /src/modlistcontextmenu.cpp | |
| parent | 1b4ed397474b4f9f4e85a4381e1f0164cc4edeca (diff) | |
A few fixes for RC 1
* Convert the priority index to a string as Windows appears to be converting these to localized numerals
* Skip separators when assigning categories
* Update the context menu requirements for displaying the auto-assign option
* Bump to RC 2
Diffstat (limited to 'src/modlistcontextmenu.cpp')
| -rw-r--r-- | src/modlistcontextmenu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modlistcontextmenu.cpp b/src/modlistcontextmenu.cpp index d4630ec3..fefb1d73 100644 --- a/src/modlistcontextmenu.cpp +++ b/src/modlistcontextmenu.cpp @@ -561,7 +561,9 @@ void ModListContextMenu::addRegularActions(ModInfo::Ptr mod) } } - if (mod->nexusId() > 0 && !mod->installationFile().isEmpty()) { + if (mod->nexusId() > 0 && + (mod->getNexusCategory() > 0 || !mod->installationFile().isEmpty()) && + !mod->isSeparator()) { addAction(tr("Remap Category (From Nexus)"), [=]() { m_actions.remapCategory(m_selected); }); |
