Wireshark-commits: [Wireshark-commits] master ca43267: Qt: Write recent before exporting profiles

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 03 Aug 2019 21:45:44 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ca432674b106bc6ad4c5de26a020afdd03821609
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

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

    Qt: Write recent before exporting profiles
    
    The selected profile may have unsaved recent settings when exported,
    so write the recent file before exporting to ensure that we save
    the latest changes.
    
    A side effect is that it's now possible to export a newly created
    profile even if it has only default configuration.
    
    Bug: 15965
    Change-Id: I7bb6428283789894bd2863e9ddbd130ca56b1219
    Reviewed-on: https://code.wireshark.org/review/34172
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  3109f52   test: skip some tests on big endian machines.
     add  ca43267   Qt: Write recent before exporting profiles


Summary of changes:
 ui/qt/models/profile_model.cpp | 4 ++++
 1 file changed, 4 insertions(+)