mirror of
https://github.com/NaN-tic/sao-base.git
synced 2023-12-14 03:13:01 +01:00
Keep row selected on dblclick
This commit is contained in:
parent
3288571464
commit
c40b2a332e
|
@ -757,6 +757,13 @@
|
||||||
} else if (document.selection) { // IE?
|
} else if (document.selection) { // IE?
|
||||||
document.selection.empty();
|
document.selection.empty();
|
||||||
}
|
}
|
||||||
|
if (this.tree.selection_mode != Sao.common.SELECTION_NONE) {
|
||||||
|
this.set_selection(true);
|
||||||
|
this.selection_changed();
|
||||||
|
if (!this.is_selected()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
this.tree.switch_(this.path);
|
this.tree.switch_(this.path);
|
||||||
},
|
},
|
||||||
select_row: function(event_) {
|
select_row: function(event_) {
|
||||||
|
|
Loading…
Reference in a new issue