Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(title): Change title on initial startup on "Add friend"
Browse files Browse the repository at this point in the history
Fixes #3100.
  • Loading branch information
Diadlo committed Apr 10, 2016
1 parent d58922c commit 47d9404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widget/widget.cpp
Expand Up @@ -634,7 +634,7 @@ void Widget::onSeparateWindowChanged(bool separate, bool clicked)

setMinimumWidth(775);

onSettingsClicked();
onAddClicked();
}
else
{
Expand Down Expand Up @@ -2168,7 +2168,7 @@ void Widget::retranslateUi()
actionQuit->setText(tr("Exit", "Tray action menu to exit tox"));

if (!Settings::getInstance().getSeparateWindow())
setWindowTitle(fromDialogType(SettingDialog));
setWindowTitle(fromDialogType(AddDialog));

friendRequestsUpdate();
groupInvitesUpdate();
Expand Down

0 comments on commit 47d9404

Please sign in to comment.