From 0474f1f5e00e634c5c9a29c627065493e203f8e1 Mon Sep 17 00:00:00 2001 From: Olaf Wintermann Date: Sat, 6 Jun 2026 19:17:25 +0200 Subject: [PATCH] fix new notes are not always selected --- ui/cocoa/list.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/cocoa/list.m b/ui/cocoa/list.m index bf6deba..132d84a 100644 --- a/ui/cocoa/list.m +++ b/ui/cocoa/list.m @@ -215,6 +215,7 @@ UIWIDGET ui_table_create(UiObject* obj, UiListArgs *args) { void ui_tableview_update(UiList *list, int i) { NSTableView *tableview = (__bridge NSTableView*)list->obj; if(i < 0) { + [tableview deselectAll: tableview]; [tableview reloadData]; } else { [tableview reloadData]; // TODO: optimize -- 2.52.0