Browse Source

fix(chatform): disable Tab in add friend message text area

This is related to #2100.
Tab is no longer accepted as input in add friend message text area,
instead it changes the focus.
pull/4341/head
ezavod 8 years ago
parent
commit
195e891da1
No known key found for this signature in database
GPG Key ID: 5DFDD9A0D8E5A9B6
  1. 1
      src/widget/form/addfriendform.cpp

1
src/widget/form/addfriendform.cpp

@ -85,6 +85,7 @@ AddFriendForm::AddFriendForm() @@ -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);

Loading…
Cancel
Save