mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
1876bec08b
commit
063e6d9fbf
4 changed files with 4 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue