diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-28 17:15:22 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:15 +0100 |
| commit | b340c564cfd151540bf5b03f3f878153b8f120ee (patch) | |
| tree | afb2265f9f93c79564622e02d2bd8b8073956dda /src/mainwindow.h | |
| parent | 9d8c64dccbdb5144c6496cbd9ef4eb636f6b4ace (diff) | |
Fix keyboard move selection.
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index ccfd4881..61a8b5e3 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -148,7 +148,7 @@ public: ModInfo::Ptr previousModInList(); public slots: - void modorder_changed(); + void onModPrioritiesChanged(std::vector<int> const& indices); void esplist_changed(); void refresherProgress(const DirectoryRefreshProgress* p); @@ -607,8 +607,13 @@ private slots: // ui slots void storeSettings(); void readSettings(); + void setupModList(); void updateModListByPriorityProxy(); + + // map index from the modlist view to the modlist model, handling proxy + QModelIndex modViewIndexToModel(const QModelIndex& index) const; + QModelIndex modModelIndexToView(const QModelIndex& index) const; }; #endif // MAINWINDOW_H |
