mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Plug the Cancel action on the Dive Planner Table and start the 'ok' code.
Plug the cancel action on the dive planner ( before that, only by hitting the 'ESC' button things worked, so now you can also click on the Cancel box that's on the right of the planner profile window. Also, the beginning of the 'ok' code is also at place. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
4e06c52f68
commit
bfe1ea0cb2
3 changed files with 29 additions and 15 deletions
|
@ -50,6 +50,11 @@ public slots:
|
|||
void setLastStop6m(bool value);
|
||||
void createPlan();
|
||||
void remove(const QModelIndex& index);
|
||||
void cancelPlan();
|
||||
|
||||
signals:
|
||||
void planCreated();
|
||||
void planCanceled();
|
||||
|
||||
private:
|
||||
explicit DivePlannerPointsModel(QObject* parent = 0);
|
||||
|
@ -135,7 +140,6 @@ private slots:
|
|||
void decreaseTime();
|
||||
void decreaseDepth();;
|
||||
void createDecoStops();
|
||||
void cancelPlan();
|
||||
void prepareSelectGas();
|
||||
void selectGas(const QModelIndex& index);
|
||||
void pointInserted(const QModelIndex&, int start, int end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue