aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guiTable.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/guiTable.cpp b/src/guiTable.cpp
index 8e8144af8..3cc95ce4f 100644
--- a/src/guiTable.cpp
+++ b/src/guiTable.cpp
@@ -928,6 +928,11 @@ bool GUITable::OnEvent(const SEvent &event)
sel_doubleclick) {
sendTableEvent(sel_column, sel_doubleclick);
}
+
+ // Treeview: double click opens/closes trees
+ if (m_has_tree_column && sel_doubleclick) {
+ toggleVisibleTree(m_selected, 0, false);
+ }
}
}
return true;