diff options
-rw-r--r-- | desktop-widgets/command_divelist.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop-widgets/command_divelist.cpp b/desktop-widgets/command_divelist.cpp index 6e4ddb427..a08a6f797 100644 --- a/desktop-widgets/command_divelist.cpp +++ b/desktop-widgets/command_divelist.cpp @@ -432,10 +432,6 @@ void AddDive::redoit() // Select the newly added dive setSelection(divesAndSitesToRemove.dives, divesAndSitesToRemove.dives[0]); - - // Exit from edit mode, but don't recalculate dive list - // TODO: Remove edit mode - MainWindow::instance()->refreshDisplay(false); } void AddDive::undoit() @@ -446,10 +442,6 @@ void AddDive::undoit() // ...and restore the selection setSelection(selection, currentDive); - - // Exit from edit mode, but don't recalculate dive list - // TODO: Remove edit mode - MainWindow::instance()->refreshDisplay(false); } ImportDives::ImportDives(struct dive_table *dives, struct trip_table *trips, struct dive_site_table *sites, int flags, const QString &source) |