--- a/ui/qt/model.cpp Tue Aug 18 20:48:31 2026 +0200
+++ b/ui/qt/model.cpp Fri Aug 21 19:53:21 2026 +0200
@@ -235,7 +235,7 @@
event.intval = sel.count;
event.set = ui_get_setop();
- if(onactivate) {
+ if(sel.count > 0 && onactivate) {
onactivate(&event, onactivatedata);
}
if(onselection) {