diff options
author | Roland Knall <rknall@gmail.com> | 2016-10-26 10:03:50 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-10-26 09:19:11 +0000 |
commit | ca2dc538ffbf6ecda2416bc53808fc97e7b8b3d4 (patch) | |
tree | ffb85f7eecae80cf1c006e7e44147fcba6ded8d7 /ui/qt/interface_frame.cpp | |
parent | 6eee29bf2a86eee890051b566db26628e2e52918 (diff) | |
download | wireshark-ca2dc538ffbf6ecda2416bc53808fc97e7b8b3d4.tar.gz |
InterfaceList: Make storing preferences optional
If multiple proxy models are used, not all should change
the preferences if types are being displayed or hidden. Only
the main list should have that option.
Change-Id: I8617e402b6608eda98d7ecc0167cd0ccc3c43eaa
Reviewed-on: https://code.wireshark.org/review/18470
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/interface_frame.cpp')
-rw-r--r-- | ui/qt/interface_frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/interface_frame.cpp b/ui/qt/interface_frame.cpp index a6bb538172..64af22da68 100644 --- a/ui/qt/interface_frame.cpp +++ b/ui/qt/interface_frame.cpp @@ -91,7 +91,7 @@ InterfaceFrame::InterfaceFrame(QWidget * parent) columns.append(IFTREE_COL_NAME); columns.append(IFTREE_COL_STATS); proxyModel->setColumns(columns); - + proxyModel->setStoreOnChange(true); proxyModel->setSourceModel(sourceModel); ui->interfaceTree->setModel(proxyModel); |