diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-01 17:17:56 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:19 +0100 |
| commit | 011e4d522ed7b0df52cdeb014608e9881f8bc76b (patch) | |
| tree | 3b4a960c72b484e48a2d030576d08c3697c44173 /src/modlistcontextmenu.h | |
| parent | 21ab4ad78b2b7007dc06ed432d707fc6edf98d6e (diff) | |
Fix setting the primary category of multiple mods at once.
Diffstat (limited to 'src/modlistcontextmenu.h')
| -rw-r--r-- | src/modlistcontextmenu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modlistcontextmenu.h b/src/modlistcontextmenu.h index d009c9d8..aa9d4c2b 100644 --- a/src/modlistcontextmenu.h +++ b/src/modlistcontextmenu.h @@ -55,6 +55,10 @@ public: ModListPrimaryCategoryMenu(CategoryFactory& categories, ModInfo::Ptr mod, QMenu* parent = nullptr); + // return the selected primary category + // + int primaryCategory() const; + private: // populate the categories |
