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