Fixed #7161 (GUI: Do not lose [Default] label after editing an application)
This commit is contained in:
parent
8bb8290a6f
commit
e8decd925b
|
@ -236,7 +236,10 @@ void SettingsDialog::EditApplication()
|
|||
ApplicationDialog dialog(tr("Modify an application"), app, this);
|
||||
|
||||
if (dialog.exec() == QDialog::Accepted) {
|
||||
item->setText(app.getName());
|
||||
QString name = app.getName();
|
||||
if (mTempApplications->GetDefaultApplication() == row)
|
||||
name += tr(" [Default]");
|
||||
item->setText(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue