Wireshark-commits: [Wireshark-commits] master b033535: Qt: Give discard button focus (but not as de

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 12 Mar 2017 07:15:57 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b0335359e59048a95346c7d3581180b79eefd2e2
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b033535 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Give discard button focus (but not as default)
    
    Set focus to the discard button in the "Unsaved packet" and
    "Unsaved comments" dialogs to enable spacebar for discard and
    enter for save.
    
    Bug: 13363
    Change-Id: I576b02c4e3f0964aef56a0f1c06ed57c6ba683bf
    Reviewed-on: https://code.wireshark.org/review/20485
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  f8abec1   bgp: Avoid divide by zero
    adds  b033535   Qt: Give discard button focus (but not as default)


Summary of changes:
 ui/qt/capture_file_dialog.cpp |    3 +++
 ui/qt/main_window.cpp         |    3 +++
 2 files changed, 6 insertions(+)