Start editing only if clicked row is already the current row

Closes #12971
This commit is contained in:
Cédric Krier committed 2024-01-29 23:18:40 +01:00
1 parent e9089e17b0
commit d48292e786
1 file changed
+2 -1
+2 -1
View File
@@ -2080,7 +2080,8 @@
Sao.View.Tree.RowEditable._super.select_row.call(this, event_);
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey)) {
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey) &&
(this.record === current_record)) {
this.tree.edit_row(this);
}
},