make MainWindow cat update instantly

Signed-off-by: Tayou <tayou@gmx.net>
This commit is contained in:
Tayou
2023-01-20 15:13:25 +01:00
parent 1a35fec134
commit cdc9f93f71
4 changed files with 10 additions and 0 deletions

View File

@ -106,6 +106,8 @@ LauncherPage::LauncherPage(QWidget *parent) : QWidget(parent), ui(new Ui::Launch
}
connect(ui->fontSizeBox, SIGNAL(valueChanged(int)), SLOT(refreshFontPreview()));
connect(ui->consoleFont, SIGNAL(currentFontChanged(QFont)), SLOT(refreshFontPreview()));
connect(ui->themeCustomizationWidget, &ThemeCustomizationWidget::currentCatChanged, APPLICATION, &Application::currentCatChanged);
}
LauncherPage::~LauncherPage()