Qt: Fix a sequence dialog crash.
authorGerald Combs <gerald@wireshark.org>
Thu, 19 Jan 2017 23:23:29 +0000 (15:23 -0800)
committerAnders Broman <a.broman58@gmail.com>
Fri, 20 Jan 2017 02:25:36 +0000 (02:25 +0000)
commitc38f2be9907eb24d50ac29e9bd9c4c3e54805979
tree1a4aadb8d150324c572d374e7985fb497efb1492
parent96f07a0f56d5edbb0498a263e7dc13a618595d48
Qt: Fix a sequence dialog crash.

If gui.geom.SequenceDialog.maximized is TRUE, loadGeometry will trigger
a resize event, which will in turn call resetAxes. Call loadGeometry
after we've initialized our various QCustomPlot bits so that resetAxes
doesn't crash.

Bug: 13329
Change-Id: I4d27683fb3eee0a7c897800401bfa3869e97662b
Reviewed-on: https://code.wireshark.org/review/19683
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
ui/qt/sequence_dialog.cpp