mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
UI restructure: always display pictures for displayed dive
The only time this is ever wrong is in print mode, so let's never show pictures in print mode. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
635a7ab771
commit
ce47683de8
3 changed files with 8 additions and 6 deletions
|
@ -1343,6 +1343,9 @@ void ProfileWidget2::keyEscAction()
|
|||
|
||||
void ProfileWidget2::plotPictures()
|
||||
{
|
||||
if (printMode)
|
||||
return;
|
||||
|
||||
qDeleteAll(pictures);
|
||||
pictures.clear();
|
||||
double x, y, lastX = -1.0, lastY = -1.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue