aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 14:17:01 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 13:52:51 -0700
commit063e6d9fbf221cac4d0f5be314c4f7c005e805b1 (patch)
treea1709103c486a02ba96c7b31806419657528fef5 /qt-ui/mainwindow.cpp
parent1876bec08bd8cce51bc18872bc8134bdd12500f7 (diff)
downloadsubsurface-063e6d9fbf221cac4d0f5be314c4f7c005e805b1.tar.gz
Ctrl+F now opens the Tag Filter
And old code for the old searchbar removed. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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