mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-07-03 20:26:02 +08:00
fix: Hide buttons can't take effect
This commit is contained in:
parent
3ded131e34
commit
c4e34eb048
@ -223,6 +223,8 @@ void MainWindow::initTitleBar()
|
|||||||
|
|
||||||
if (!m_isHideButton) {
|
if (!m_isHideButton) {
|
||||||
m_menu->addAction(m_hideButtons);
|
m_menu->addAction(m_hideButtons);
|
||||||
|
}else{
|
||||||
|
hideButtons(); // 修复指定hidebuttons之后没有生效
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_menu->actions().size() > 0) {
|
if (m_menu->actions().size() > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user