Wireshark-commits: [Wireshark-commits] master 64984b7: Qt: Add check for valid profile name
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 8 Feb 2017 09:07:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=64984b7a59ca52ec32d6608ad6ca298c054ff49e
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

64984b7 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Add check for valid profile name
    
    Add check for a valid profile name in the Profile dialog and disable
    the Ok button and mark the invalid profile if error.
    
    The GTK dialog does not close on errors but the Qt dialog does, so
    ensure the user is informed beforehand.
    
    Change-Id: If31ffe75183066cf49e2b5a082112bfe62d6c06e
    Reviewed-on: https://code.wireshark.org/review/19995
    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  b3068a0   Fix a comment to match we-run-on-Windows-too reality.
    adds  64984b7   Qt: Add check for valid profile name


Summary of changes:
 ui/profile.c             |    6 ++++--
 ui/qt/profile_dialog.cpp |   10 ++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)