feat: Clear servers before updating subscription

This commit is contained in:
arm64v8a
2022-10-30 13:15:08 +09:00
parent 91f016bdb2
commit 474e33a32a
6 changed files with 34 additions and 5 deletions

View File

@@ -145,6 +145,7 @@ DialogBasicSettings::DialogBasicSettings(QWidget *parent)
ui->user_agent->setText(NekoRay::dataStore->user_agent);
D_LOAD_BOOL(sub_use_proxy)
D_LOAD_BOOL(sub_clear)
// Core
@@ -268,6 +269,7 @@ void DialogBasicSettings::accept() {
NekoRay::dataStore->user_agent = ui->user_agent->text();
D_SAVE_BOOL(sub_use_proxy)
D_SAVE_BOOL(sub_clear)
// Core