summaryrefslogtreecommitdiff
path: root/ui/qt/sequence_dialog.cpp
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2016-09-13 12:49:23 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2016-09-13 11:43:29 +0000
commit5e03d3183c55277aa75f7337bd8cac76a60d51b2 (patch)
tree54dcbbb465c61e39202e3f345fd5c253f7c1fc24 /ui/qt/sequence_dialog.cpp
parent5b03a42489eb3adfa9c1aa8971e35649fcfe6014 (diff)
downloadwireshark-5e03d3183c55277aa75f7337bd8cac76a60d51b2.tar.gz
Qt: Fix open Flow Graph in full screen
Check if initialized in SequenceDialog::resizeEvent because loadGeometry() may call resizeEvent (from showFullScreen()) before init_ is initialized. Change-Id: I1a514454f1521f68df71c3113077c68acb2f3218 Reviewed-on: https://code.wireshark.org/review/17684 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/sequence_dialog.cpp')
-rw-r--r--ui/qt/sequence_dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/sequence_dialog.cpp b/ui/qt/sequence_dialog.cpp
index 84f6ff7306..864d018175 100644
--- a/ui/qt/sequence_dialog.cpp
+++ b/ui/qt/sequence_dialog.cpp
@@ -201,6 +201,8 @@ void SequenceDialog::showEvent(QShowEvent *)
void SequenceDialog::resizeEvent(QResizeEvent *)
{
+ if (!info_) return;
+
resetAxes(true);
}