Fix: system.json theme not correctly hidden in the initial dialog

This commit is contained in:
Roy Qu 2024-01-19 15:27:29 +08:00
parent 6715d197fe
commit 2b581531db
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@
</font>
</property>
<property name="text">
<string>Copyright(C) 2021-2022 瞿华(royqh1979@gmail.com)</string>
<string>Copyright(C) 2021-2024 瞿华(royqh1979@gmail.com)</string>
</property>
</widget>
</item>

View File

@ -23,9 +23,9 @@ ChooseThemeDialog::ChooseThemeDialog(QWidget *parent) :
{
ui->setupUi(this);
#ifdef ENABLE_LUA_ADDON
ui->rbAuto->setChecked(true);
ui->rbAuto->setVisible(true);
#else
ui->rbAuto->setChecked(false);
ui->rbAuto->setVisible(false);
#endif
ui->rbDark->setChecked(true);
ui->rbCpp->setChecked(true);