mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(settings): changing language sets title to "Add Friend"
This fixes issue #3708. Changing language sets title of settings widget to "Settings" instead of wrong "Add Friend".
This commit is contained in:
parent
c417071ee8
commit
4886868ece
|
@ -2318,8 +2318,9 @@ void Widget::retranslateUi()
|
|||
actionQuit->setText(tr("Exit", "Tray action menu to exit tox"));
|
||||
actionShow->setText(tr("Show", "Tray action menu to show qTox window"));
|
||||
|
||||
if (!Settings::getInstance().getSeparateWindow())
|
||||
setWindowTitle(fromDialogType(DialogType::AddDialog));
|
||||
if (!Settings::getInstance().getSeparateWindow() && (settingsWidget && settingsWidget->isShown())) {
|
||||
setWindowTitle(fromDialogType(DialogType::SettingDialog));
|
||||
}
|
||||
|
||||
friendRequestsUpdate();
|
||||
groupInvitesUpdate();
|
||||
|
|
Loading…
Reference in New Issue
Block a user