mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
fix profile manager
This commit is contained in:
@@ -116,7 +116,7 @@ void GroupItem::on_edit_clicked() {
|
||||
}
|
||||
|
||||
void GroupItem::on_remove_clicked() {
|
||||
if (NekoGui::profileManager->groups.count() == 1) return;
|
||||
if (NekoGui::profileManager->groups.size() <= 1) return;
|
||||
if (QMessageBox::question(this, tr("Confirmation"), tr("Remove %1?").arg(ent->name)) ==
|
||||
QMessageBox::StandardButton::Yes) {
|
||||
NekoGui::profileManager->DeleteGroup(ent->id);
|
||||
|
||||
Reference in New Issue
Block a user