From 2364449d7a173086c2681eae267b32e5c1596b00 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sun, 18 Oct 2015 11:03:59 +0200 Subject: [PATCH] Settings tab: double click opens/closes trees --- src/guiTable.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.25.1