mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
UI restructure: updateDiveInfo shows the selected dive by default
So don't be redundant. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2a55e55868
commit
635a7ab771
4 changed files with 7 additions and 7 deletions
|
|
@ -879,7 +879,7 @@ void MainTab::rejectChanges()
|
|||
MainWindow::instance()->globe()->reload();
|
||||
if (lastMode == MANUALLY_ADDED_DIVE) {
|
||||
// more clean up
|
||||
updateDiveInfo(selected_dive);
|
||||
updateDiveInfo();
|
||||
MainWindow::instance()->showProfile();
|
||||
// we already reloaded the divelist above, so don't recreate it or we'll lose the selection
|
||||
MainWindow::instance()->refreshDisplay(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue