diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 20:35:39 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 20:35:39 +0100 |
| commit | 94b3674d086f81479e71e265102b48c7607c3ef2 (patch) | |
| tree | 492b90aae20df3ee65865f80ba59d19a519cd3f7 /src/pluginlistview.cpp | |
| parent | 085ccd973d77211a1c0aa20638ce8a1ea876753f (diff) | |
Move highlighting of mods containing selected plugins to mod view.
Diffstat (limited to 'src/pluginlistview.cpp')
| -rw-r--r-- | src/pluginlistview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pluginlistview.cpp b/src/pluginlistview.cpp index d17b4a2f..7388ae40 100644 --- a/src/pluginlistview.cpp +++ b/src/pluginlistview.cpp @@ -206,9 +206,7 @@ void PluginListView::setup(OrganizerCore& core, MainWindow* mw, Ui::MainWindow* for (auto& idx : indexViewToModel(selectionModel()->selectedRows())) { pluginIndices.push_back(idx.row()); } - m_core->modList()->highlightMods(pluginIndices, *m_core->directoryStructure()); - mwui->modList->verticalScrollBar()->repaint(); - mwui->modList->repaint(); + mwui->modList->setHighlightedMods(pluginIndices); }); // using a lambda here to avoid storing the mod list actions |
