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
1 changed files with 4 additions and 0 deletions

View File

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