diff options
author | Roland Knall <rknall@gmail.com> | 2019-08-29 11:26:34 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2019-08-29 10:26:02 +0000 |
commit | 6e240e6727279d47c4060695f3afaaf8e37949a3 (patch) | |
tree | f717996c721a53042ab49263ac4742526aa1ef18 /ui/qt/enabled_protocols_dialog.h | |
parent | cd8f720251c7c0ecbdd375cbfebb8b39273f6b84 (diff) |
Qt: Apply Invert/Enable/Disable only to selected list
Also, put the search field on top, as this is the default for search
fields and apply the change of enable/disable and invert-all only to
the selected items, instead of all items.
Bug: 16013
Change-Id: If4ef1c5ce63eef6fa72db679cdcbf52dcb0e8fb6
Reviewed-on: https://code.wireshark.org/review/34393
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/enabled_protocols_dialog.h')
-rw-r--r-- | ui/qt/enabled_protocols_dialog.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/qt/enabled_protocols_dialog.h b/ui/qt/enabled_protocols_dialog.h index b42c9189dd..e5a88d2f5e 100644 --- a/ui/qt/enabled_protocols_dialog.h +++ b/ui/qt/enabled_protocols_dialog.h @@ -30,7 +30,8 @@ private slots: void on_invert_button__clicked(); void on_enable_all_button__clicked(); void on_disable_all_button__clicked(); - void on_search_line_edit__textChanged(const QString &search_re); + void on_search_line_edit__textChanged(const QString &); + void on_cmbSearchType_currentIndexChanged(int); void on_buttonBox_accepted(); void on_buttonBox_helpRequested(); void fillTree(); @@ -40,6 +41,8 @@ private: EnabledProtocolsModel* enabled_protocols_model_; EnabledProtocolsProxyModel* proxyModel_; + + void searchFilterChange(); }; #endif // ENABLED_PROTOCOLS_DIALOG_H |