mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: don't call updateDivePictures in MainWindow
That is already properly done by the photo-tabwidget, which displays the pictures. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
989d6a3f96
commit
4e25912fd3
1 changed files with 0 additions and 3 deletions
|
@ -676,7 +676,6 @@ void MainWindow::on_actionClose_triggered()
|
||||||
{
|
{
|
||||||
if (okToClose(tr("Please save or cancel the current dive edit before closing the file."))) {
|
if (okToClose(tr("Please save or cancel the current dive edit before closing the file."))) {
|
||||||
closeCurrentFile();
|
closeCurrentFile();
|
||||||
DivePictureModel::instance()->updateDivePictures();
|
|
||||||
setApplicationState(ApplicationState::Default);
|
setApplicationState(ApplicationState::Default);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -779,7 +778,6 @@ void MainWindow::refreshProfile()
|
||||||
showProfile();
|
showProfile();
|
||||||
configureToolbar();
|
configureToolbar();
|
||||||
graphics->plotDive(current_dive, true);
|
graphics->plotDive(current_dive, true);
|
||||||
DivePictureModel::instance()->updateDivePictures();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::planCanceled()
|
void MainWindow::planCanceled()
|
||||||
|
@ -903,7 +901,6 @@ void MainWindow::on_actionDivePlanner_triggered()
|
||||||
if (current_dive->salinity)
|
if (current_dive->salinity)
|
||||||
divePlannerWidget->setSalinity(current_dive->salinity);
|
divePlannerWidget->setSalinity(current_dive->salinity);
|
||||||
}
|
}
|
||||||
DivePictureModel::instance()->updateDivePictures();
|
|
||||||
divePlannerWidget->setReplanButton(false);
|
divePlannerWidget->setReplanButton(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue