This commit is contained in:
armv9
2023-09-03 03:51:51 +00:00
parent ae2f11eb1e
commit 0fd9ea25ab
2 changed files with 2 additions and 0 deletions

View File

@@ -610,6 +610,7 @@ namespace NekoGui_sub {
group->order.append(ent->id); group->order.append(ent->id);
} }
} }
group->Save();
// cleanup // cleanup
for (const auto &ent: out_all) { for (const auto &ent: out_all) {

View File

@@ -367,6 +367,7 @@ void DialogBasicSettings::on_set_custom_icon_clicked() {
MessageBoxWarning(title, tr("Please select a valid square image.")); MessageBoxWarning(title, tr("Please select a valid square image."));
return; return;
} }
QFile::remove(user_icon_path);
QFile::copy(fn, user_icon_path); QFile::copy(fn, user_icon_path);
} else if (c == 1) { } else if (c == 1) {
QFile::remove(user_icon_path); QFile::remove(user_icon_path);