From ad1b651f96ace3735ddea7ef2704b5bc7fc7aaf3 Mon Sep 17 00:00:00 2001 From: garak Date: Sun, 4 Feb 2024 14:59:03 -0500 Subject: [PATCH] clear selection sticking when edits toggled for map list --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b609be59..61265135 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2854,6 +2854,7 @@ void MainWindow::on_toolButton_CollapseAll_Groups_clicked() { } void MainWindow::on_toolButton_EnableDisable_EditGroups_clicked() { + this->ui->mapList->clearSelection(); if (this->ui->toolButton_EnableDisable_EditGroups->isChecked()) { ui->mapList->setSelectionMode(QAbstractItemView::ExtendedSelection); ui->mapList->setDragEnabled(true);