mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Only mark location changed when in edit mode
Otherwise the code loading a dive into the field would mark it as
changed.
This re-adds this code that got removed in a209dfbfd5
("Multi dive
edit: don't change location texts until user saves the change")
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
94937d2ad9
commit
b59a106251
1 changed files with 2 additions and 0 deletions
|
@ -994,6 +994,8 @@ void MainTab::on_tagWidget_textChanged()
|
|||
|
||||
void MainTab::on_location_textChanged(const QString &text)
|
||||
{
|
||||
if (editMode == NONE)
|
||||
return;
|
||||
markChangedWidget(ui.location);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue