diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-12 14:28:44 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-12 14:28:44 -0300 |
commit | 9993d4996659b2d6c07f283895acb6409012ea9c (patch) | |
tree | 3d493add3f8fb3153d524f9c1faab2771a492b5f /qt-ui/mainwindow.h | |
parent | ab0213f28ecfb1b49ca0c5c7c1d6900ab1fb8d71 (diff) | |
download | subsurface-9993d4996659b2d6c07f283895acb6409012ea9c.tar.gz |
Do not plot on showEvent if dive is already plotted.
We do a force-plot on showEvent because the user can
have asked to open a dive file via command line, so
the app needs to open already with a profile plotted.
if the user opens the program, loads a map, hides
the profile by hitting ctrl + 1, then shows the
profile again by hitting ctrl + 2, we do not want
to do all the math to show the profile again, because
we already have it in memory.
this also fixes dirk's strange behavior of funky profile.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
0 files changed, 0 insertions, 0 deletions