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

Commit

Permalink
fix(chatform): disable Tab in add friend message text area
Browse files Browse the repository at this point in the history
This is related to #2100.
Tab is no longer accepted as input in add friend message text area,
instead it changes the focus.
  • Loading branch information
ezavod committed Apr 19, 2017
1 parent c417071 commit 195e891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widget/form/addfriendform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ AddFriendForm::AddFriendForm()
messageLabel.setAccessibleDescription(tr("Friend request message"));
message.setAccessibleDescription(tr(
"Type message to send with the friend request or leave empty to send a default message"));
message.setTabChangesFocus(true);

retranslateUi();
Translator::registerHandler(std::bind(&AddFriendForm::retranslateUi, this), this);
Expand Down

0 comments on commit 195e891

Please sign in to comment.