Wireshark-commits: [Wireshark-commits] master-2.6 6388753: Qt: fix saving exported objects after so
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=63887536c79f043126c6f61fd422b5d79da7a1a9
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
6388753 by Moshe Kaplan (me@xxxxxxxxxxxxxxx):
Qt: fix saving exported objects after sorting columns
Avoid assuming an export object's row number is consistent throughout,
because the row number can change if the display is filtered or sorted.
Instead, look up the index in the model with mapToSource().
Bug: 14545
Change-Id: I61099dfb4f3abc056417eb7d6ffbc7a988553dd8
Reviewed-on: https://code.wireshark.org/review/30388
Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
(cherry picked from commit 4a2739ec88dff4c580ba51508a4cf3944718d09d)
Reviewed-on: https://code.wireshark.org/review/30389
Actions performed:
from b848dc5 SV: Fix handling data length
add 6388753 Qt: fix saving exported objects after sorting columns
Summary of changes:
ui/qt/export_object_dialog.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)