# HG changeset patch # User Olaf Wintermann # Date 1745956612 -7200 # Node ID 61813a91c84d7ff1e689bb006ac19337e2b4c398 # Parent a05b0245b074132063dc12466cfe684e774b0ce8 implement ui_table multiselection (QT) diff -r a05b0245b074 -r 61813a91c84d ui/qt/list.cpp --- a/ui/qt/list.cpp Sun Apr 27 16:13:28 2025 +0200 +++ b/ui/qt/list.cpp Tue Apr 29 21:56:52 2025 +0200 @@ -80,7 +80,10 @@ QTreeView *view = new QTreeView(); view->setItemsExpandable(false); - view->setRootIsDecorated(false); + view->setRootIsDecorated(false); + if(args.multiselection) { + view->setSelectionMode(QAbstractItemView::ExtendedSelection); + } UiVar* var = uic_widget_var(obj->ctx, obj->ctx, args.list, args.varname, UI_VAR_LIST);