D25981: Clean up the chat dialog code a bit, set the keyboard focus on the chat message field

Yuri Chornoivan noreply at phabricator.kde.org
Sat Dec 14 09:49:02 GMT 2019


yurchor created this revision.
yurchor added a reviewer: KDE Games.
Herald added a subscriber: kde-games-devel.
yurchor requested review of this revision.

REVISION SUMMARY
  Remove unnecessary repetition of code and focusing of "Configure..." button by default that leads to unexpected opening of the chat configuration dialog or closing the chat dialog when you press Enter in the message field.

TEST PLAN
  Open the "Game -> Network Chat..." dialog, add some message and press Enter. Chat does not work as before (I cannot figure up why) but at least it does not open the configuration dialog and does not close either.

REPOSITORY
  R395 KFourInLine

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25981

AFFECTED FILES
  src/chatdlg.cpp

To: yurchor, #kde_games
Cc: kde-games-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20191214/91c8e101/attachment.html>


More information about the kde-games-devel mailing list