mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
EditWindow: bug fix of tag status update
This commit is contained in:
parent
6793855164
commit
a53fdf27b6
@ -365,10 +365,12 @@ void VEditWindow::updateTabStatus(int p_index)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
VEditTab *tab = getTab(p_index);
|
if (p_index == currentIndex()) {
|
||||||
emit tabStatusUpdated(tab->fetchTabInfo());
|
VEditTab *tab = getTab(p_index);
|
||||||
emit outlineChanged(tab->getOutline());
|
emit tabStatusUpdated(tab->fetchTabInfo());
|
||||||
emit currentHeaderChanged(tab->getCurrentHeader());
|
emit outlineChanged(tab->getOutline());
|
||||||
|
emit currentHeaderChanged(tab->getCurrentHeader());
|
||||||
|
}
|
||||||
|
|
||||||
updateTabInfo(p_index);
|
updateTabInfo(p_index);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user