summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-09-12 12:51:34 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-12 10:36:36 -0700
commit72312bec2f4dcde3150a2d989bd729237c704d66 (patch)
treee167e4123847d0c5587c765346eb5868e2344a24 /CHANGELOG.md
parent762c5276fd7e49ec5f4e76973c1159b31e4fec63 (diff)
downloadsubsurface-72312bec2f4dcde3150a2d989bd729237c704d66.tar.gz
desktop: on weight type change, don't overwrite weight if already set
When importing from other software, it happens that weights are imported without their type. When the user changes the type, the imported weight is overwritten, which is not exactly a friendly behavior. On the other hand, when changing the type after creation of a weight entry, it is preferrable to set a default weight. This is convenient for people who commonly use the same weight. As a compromise, set the default weight only if it was unset. We recognize this by a weight value of 0 g. Fixes #2938 Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e8881c821..d539a28eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,4 @@
+desktop: don't overwrite already set weights when changing weight type [#2938]
desktop: do substring search for equipment types
planner: properly initialize salinity
desktop: add an "Edit Gas Change" right-click option [#2910]