expand everything for a key editor tab is there is only 1 child node
This commit is contained in:
parent
bc9b490e90
commit
2ee80b4eb7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user