Skip to content

Commit

Permalink
fix: wrong monitor conversion when sorting (fix #2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Feb 27, 2023
1 parent 366b1f5 commit 5896437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/src/tabs/monitors-tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void MonitorsTab::convertSelected()
{
QSet<int> rows;
for (const QModelIndex &index : ui->tableMonitors->selectionModel()->selection().indexes()) {
rows.insert(index.row());
rows.insert(m_monitorTableModel->mapToSource(index).row());
}

for (const int row : rows) {
Expand Down

0 comments on commit 5896437

Please sign in to comment.