aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index f5794b6d7..a86eb8e99 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -457,7 +457,6 @@ void MainWindow::on_actionReplanDive_triggered()
qDebug() << "trying to replan a dive that's not a planned dive:" << current_dive->dc.model;
return;
}
- ui.ListWidget->endSearch();
// put us in PLAN mode
DivePlannerPointsModel::instance()->clear();
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::PLAN);
@@ -479,7 +478,6 @@ void MainWindow::on_actionDivePlanner_triggered()
if (!plannerStateClean())
return;
- ui.ListWidget->endSearch();
// put us in PLAN mode
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::PLAN);
@@ -509,7 +507,6 @@ void MainWindow::on_actionAddDive_triggered()
dive_list()->clearSelection();
}
- ui.ListWidget->endSearch();
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::ADD);
// setup things so we can later create our starting dive