This commit is contained in:
rabix 2024-09-30 17:21:16 +08:00
parent 1205beec8e
commit 8c49dfd3fa
2 changed files with 11 additions and 4 deletions

View File

@ -1105,8 +1105,8 @@ void MainWindow::applyUISettings()
ui->actionProject->setChecked(settings.showProject());
showHideInfosTab(ui->tabProject,settings.showProject());
// ui->actionWatch->setChecked(settings.showWatch());
// showHideInfosTab(ui->tabWatch,settings.showWatch());
ui->actionWatch->setChecked(false);
showHideInfosTab(ui->tabWatch,settings.showWatch());
ui->actionStructure->setChecked(settings.showStructure());
showHideInfosTab(ui->tabStructure,settings.showStructure());
ui->actionFiles->setChecked(settings.showFiles());
@ -7392,6 +7392,13 @@ PSymbolUsageManager &MainWindow::symbolUsageManager()
void MainWindow::showHideInfosTab(QWidget *widget, bool show)
{
if (widget == ui->tabWatch) {
int idx = findTabIndex(ui->tabExplorer,widget);
if (idx >= 0) {
ui->tabExplorer->removeTab(idx);
}
return;
}
int idx = findTabIndex(ui->tabExplorer,widget);
if (idx>=0) {
if (!show) {

View File

@ -1,2 +1,2 @@
APP_VERSION="3.2"
APP_VERSION="1.0"
APP_VERSION_SUFFIX="alpha"