mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: automatically enter edit mode
The edit mode was hidden in a context-menu. With fine-grained undo there seems to be no need to explicitly exit edit mode. Therefore, always switch to edit mode when displaying a manually added dive. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
63664061eb
commit
dea58bd67c
4 changed files with 13 additions and 16 deletions
|
@ -48,7 +48,7 @@ private:
|
|||
void editDive();
|
||||
void exitEditMode();
|
||||
std::unique_ptr<dive, DiveDeleter> editedDive;
|
||||
int editedDc;
|
||||
unsigned int editedDc;
|
||||
dive *originalDive;
|
||||
bool placingCommand;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue