mirror of
https://github.com/NaN-tic/sao-base.git
synced 2023-12-14 03:13:01 +01:00
Disable switch_row on editable tree
The edition and the switch can be in conflict which result of switching the view while a cell is edited.
This commit is contained in:
parent
6e31f30e39
commit
7de8ca1813
1 changed files with 3 additions and 1 deletions
|
@ -572,7 +572,9 @@
|
|||
td.on('click keypress', {column: i, td: td},
|
||||
Sao.common.click_press(this.select_row.bind(this),
|
||||
true));
|
||||
td.dblclick(this.switch_row.bind(this));
|
||||
if (!this.tree.editable) {
|
||||
td.dblclick(this.switch_row.bind(this));
|
||||
}
|
||||
var widgets = this.build_widgets();
|
||||
var table = widgets[0];
|
||||
var row = widgets[1];
|
||||
|
|
Loading…
Reference in a new issue