ui/cocoa/list.m

changeset 713
f279d3cf2bf5
parent 712
9693f447a0c7
child 714
3905f542e150
--- a/ui/cocoa/list.m	Sat Aug 23 18:31:55 2025 +0200
+++ b/ui/cocoa/list.m	Sat Aug 23 18:34:09 2025 +0200
@@ -46,6 +46,10 @@
     tableview.autoresizingMask = NSViewWidthSizable;
     tableview.headerView = nil;
     
+    if(args->multiselection) {
+        tableview.allowsMultipleSelection = YES;
+    }
+    
     scrollview.documentView = tableview;
     
     UiLayout layout = UI_INIT_LAYOUT(args);

mercurial