diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-01-27 21:30:52 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-01-28 18:28:30 +0000 |
commit | 7fdf4ceaa6d5bacb69165adc2e7c7f56d696a685 (patch) | |
tree | 3630eead080917a673145e537a8960cf35e67dda /ui/qt/wireshark_application.h | |
parent | 265a41e14da6b3ebf1e49e726eee62d1372110bf (diff) | |
download | wireshark-7fdf4ceaa6d5bacb69165adc2e7c7f56d696a685.tar.gz |
Qt: Update display filter bookmarks when list changed
Recreate the display filter bookmarks menu only when the list
has changed, not every time the display filter changes.
The list changes when removing an entry from the menu and
when changing the list in the "Manage Display Filters" dialog.
Save the list when removing an entry from the menu.
Change-Id: Icd08e0a80085cca55c0e63177d45abe4902c7c3e
Reviewed-on: https://code.wireshark.org/review/13567
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/wireshark_application.h')
-rw-r--r-- | ui/qt/wireshark_application.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h index 56447ba387..c447f5f058 100644 --- a/ui/qt/wireshark_application.h +++ b/ui/qt/wireshark_application.h @@ -63,6 +63,7 @@ public: enum AppSignal { ColumnsChanged, + DisplayFilterListChanged, FilterExpressionsChanged, PacketDissectionChanged, PreferencesChanged, @@ -148,6 +149,7 @@ signals: void profileNameChanged(const gchar *profile_name); void columnsChanged(); // XXX This recreates the packet list. We might want to rename it accordingly. + void displayFilterListChanged(); void filterExpressionsChanged(); void packetDissectionChanged(); void preferencesChanged(); |