diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-07-09 10:29:21 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-07-09 17:33:59 +0000 |
commit | fdd07c4d3a5e7d83e235957dc731502770e709f1 (patch) | |
tree | eb3454528118a7b0d6bbbe776e412c0953d559eb /ui/qt/accordion_frame.h | |
parent | d36930e2d4a5118023182fd8ac3237e546436c87 (diff) | |
download | wireshark-fdd07c4d3a5e7d83e235957dc731502770e709f1.tar.gz |
Make sure we uncheck the "Find Packet" action.
Make sure we uncheck the "Find Packet" action when we're done finding
packets. Make the "Go To Packet" action checkable and ensure that it's
properly checked an unchecked as well.
Change-Id: I979cabfd950ec4807ebcd40664b44b600557cf48
Reviewed-on: https://code.wireshark.org/review/9577
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/accordion_frame.h')
-rw-r--r-- | ui/qt/accordion_frame.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/qt/accordion_frame.h b/ui/qt/accordion_frame.h index 5d7a5fca61..37d3e00016 100644 --- a/ui/qt/accordion_frame.h +++ b/ui/qt/accordion_frame.h @@ -35,6 +35,11 @@ public: void animatedHide(); signals: + void visibilityChanged(bool visible); + +protected: + virtual void hideEvent(QHideEvent *) { emit visibilityChanged(false); } + virtual void showEvent(QShowEvent *) { emit visibilityChanged(true); } private: int frame_height_; |