ui/cocoa/ListDelegate.m

changeset 1057
b0bc313dea43
parent 712
9693f447a0c7
--- a/ui/cocoa/ListDelegate.m	Sun Jan 25 11:24:02 2026 +0100
+++ b/ui/cocoa/ListDelegate.m	Sun Jan 25 11:44:49 2026 +0100
@@ -59,7 +59,7 @@
 }
 
 - (void) tableViewSelectionDidChange:(NSNotification *) notification {
-    if(_onselection) {
+    if(_onselection && ui_selection_events_is_enabled()) {
         UiListSelection sel = ui_tableview_selection(_tableview);
         
         UiEvent  event;

mercurial