Browse Source

Outline: update outline panel manually when tree is empty

Le Tan 7 years ago
parent
commit
dc659b6c7a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/voutline.cpp

+ 1 - 0
src/voutline.cpp

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