mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'linusDiveList' of https://github.com/tcanabrava/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
commit
e34da61362
7 changed files with 60 additions and 37 deletions
|
@ -217,7 +217,7 @@ void ProfileGraphicsView::showEvent(QShowEvent* event)
|
|||
// but the dive was not ploted.
|
||||
// force a replot by modifying the dive
|
||||
// hold by the view, and issuing a plot.
|
||||
if (dive) {
|
||||
if (dive && !scene()->items().count()) {
|
||||
dive = 0;
|
||||
plot(get_dive(selected_dive));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue