Start editing only if clicked row is already the current row
Closes #12971
This commit is contained in:
1 parent
e9089e17b0
commit
d48292e786
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user