diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-16 15:55:56 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-16 15:55:56 +0100 |
| commit | 89a735d6e11b8339b5b350d15ddd8fbfdf7998f5 (patch) | |
| tree | 364ce83427e503e5c1f07bb48a192c72599d8248 /src/modlistviewactions.h | |
| parent | 56d039274776078cfff0565cf66fbb0b4852f90e (diff) | |
Maintain selection after 'Send to... ' and add send to first conflict.
Diffstat (limited to 'src/modlistviewactions.h')
| -rw-r--r-- | src/modlistviewactions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modlistviewactions.h b/src/modlistviewactions.h index 153d0d2b..a3ae1b1a 100644 --- a/src/modlistviewactions.h +++ b/src/modlistviewactions.h @@ -62,6 +62,7 @@ public: void sendModsToBottom(const QModelIndexList& index) const; void sendModsToPriority(const QModelIndexList& index) const; void sendModsToSeparator(const QModelIndexList& index) const; + void sendModsToFirstConflict(const QModelIndexList& index) const; void sendModsToLastConflict(const QModelIndexList& index) const; // actions for most regular mods @@ -145,6 +146,11 @@ private: // void checkModsForUpdates(std::multimap<QString, int> const& IDs) const; + // set the priorities of the given mods while maintaining the + // mod list selection (which may be different from the list of mods) + // + void setModsPriority(const QModelIndexList& indexes, int priority) const; + private: OrganizerCore& m_core; |
