Desktop: remove "edit dive" from log menu

Nowadays, we edit dives just by starting to enter data for the dive.
There is no need to explicitly ask to start editing the dive, using the
now removed menu option. This was a left-over of a long past history.

This is fallout from PR #1673.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2018-09-14 19:05:23 +02:00 committed by Dirk Hohndel
parent 6173ef2eb2
commit d16bcd8978
4 changed files with 1 additions and 12 deletions

View file

@ -1,3 +1,4 @@
- Desktop: remove "edit dive" from the log menu. Nowadays we edit in place.
- Desktop: disable UI elements that make no sense during editing [#1445]
- Mobil: setting for developer menu entry is remembered across sessions
- Mobile: remove UI components of the Webservice GPS interaction

View file

@ -1067,11 +1067,6 @@ void MainWindow::on_actionAddDive_triggered()
information()->updateDepthDuration();
}
void MainWindow::on_actionEditDive_triggered()
{
editCurrentDive();
}
void MainWindow::on_actionRenumber_triggered()
{
RenumberDialog::instance()->renumberOnlySelected(false);

View file

@ -112,7 +112,6 @@ slots:
void on_actionDivelogs_de_triggered();
void on_actionEditDeviceNames_triggered();
void on_actionAddDive_triggered();
void on_actionEditDive_triggered();
void on_actionRenumber_triggered();
void on_actionAutoGroup_triggered();
void on_actionYearlyStatistics_triggered();

View file

@ -82,7 +82,6 @@
<string>&amp;Log</string>
</property>
<addaction name="actionAddDive"/>
<addaction name="actionEditDive"/>
<addaction name="actionDivePlanner"/>
<addaction name="actionReplanDive"/>
<addaction name="copy"/>
@ -252,11 +251,6 @@
<string notr="true">Ctrl++</string>
</property>
</action>
<action name="actionEditDive">
<property name="text">
<string>&amp;Edit dive</string>
</property>
</action>
<action name="copy">
<property name="text">
<string>&amp;Copy dive components</string>