forked from Mirrorlandia_minetest/minetest
Settings tab: double click opens/closes trees
This commit is contained in:
parent
ba9d7215ec
commit
2364449d7a
@ -928,6 +928,11 @@ bool GUITable::OnEvent(const SEvent &event)
|
|||||||
sel_doubleclick) {
|
sel_doubleclick) {
|
||||||
sendTableEvent(sel_column, 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;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user