summaryrefslogtreecommitdiffstats
path: root/.github
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 /.github
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 '.github')
0 files changed, 0 insertions, 0 deletions