Skip to content

Commit

Permalink
fix: Bug# 点击自定义主题后未确认,菜单勾选状态错误 (#343)
Browse files Browse the repository at this point in the history
由于自定弹窗结果返回是异步的,所以修改为:
每次菜单点开重新进行勾选

Log: 点击自定义主题后未确认,菜单勾选状态错误
  • Loading branch information
DaiZW007 authored May 21, 2024
1 parent 90905b0 commit 562b849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2078,6 +2078,7 @@ void MainWindow::addThemeMenuItems()

connect(switchThemeMenu, SIGNAL(mainWindowCheckThemeItemSignal()), this, SLOT(themeRecovery()));
connect(switchThemeMenu, SIGNAL(menuHideSetThemeSignal()), this, SLOT(themeRecovery()));
connect(switchThemeMenu, &SwitchThemeMenu::aboutToShow, this, &MainWindow::checkThemeItem);
}
}

Expand Down

0 comments on commit 562b849

Please sign in to comment.