mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
Outline: update outline panel manually when tree is empty
This commit is contained in:
parent
803a0b66df
commit
dc659b6c7a
@ -141,6 +141,7 @@ void VOutline::updateTreeFromOutline(QTreeWidget *p_treeWidget,
|
|||||||
p_treeWidget->clear();
|
p_treeWidget->clear();
|
||||||
|
|
||||||
if (p_outline.isEmpty()) {
|
if (p_outline.isEmpty()) {
|
||||||
|
p_treeWidget->update();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user