13
0

expand everything for a key editor tab is there is only 1 child node

This commit is contained in:
Paul Davis 2020-04-17 13:13:26 -06:00
parent bc9b490e90
commit 2ee80b4eb7

View File

@ -478,6 +478,10 @@ KeyEditor::Tab::tab_mapped ()
{ {
data_model->set_sort_column (owner.sort_column, owner.sort_type); data_model->set_sort_column (owner.sort_column, owner.sort_type);
filter->refilter (); filter->refilter ();
if (data_model->children().size() == 1) {
view.expand_all ();
}
} }
bool bool