Outline: update outline panel manually when tree is empty

This commit is contained in:
Le Tan 2018-09-24 12:40:26 +08:00
parent 803a0b66df
commit dc659b6c7a

View File

@ -141,6 +141,7 @@ void VOutline::updateTreeFromOutline(QTreeWidget *p_treeWidget,
p_treeWidget->clear();
if (p_outline.isEmpty()) {
p_treeWidget->update();
return;
}