Skip to content

Commit

Permalink
Settings tab: double click opens/closes trees
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrl committed Oct 18, 2015
1 parent ba9d721 commit 2364449
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/guiTable.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2364449

Please sign in to comment.