ui/qt/model.cpp

changeset 1057
b0bc313dea43
parent 958
749a8a36d74b
--- a/ui/qt/model.cpp	Sun Jan 25 11:24:02 2026 +0100
+++ b/ui/qt/model.cpp	Sun Jan 25 11:44:49 2026 +0100
@@ -99,6 +99,10 @@
 }
 
 void ListModel::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) {
+    if(!ui_selection_events_is_enabled()) {
+        return;
+    }
+    
     UiListSelection sel;
     if(listview) {
         sel = ui_selection_model_to_selection(listview->selectionModel());

mercurial