]> git.tdb.fi Git - ext/subsurface.git/commit
multi-dive editing: don't change already set data for other dives
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Aug 2012 03:30:32 +0000 (20:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Aug 2012 03:30:32 +0000 (20:30 -0700)
commit2f773b97e042799fbb284b15cb682104dfdbba9d
treea25bd9804b039a7226d34e16cffeabde78c3c73d
parentf6dfb0094cf095241377fae52ed02247cf3d03f5
multi-dive editing: don't change already set data for other dives

When editing multiple dives at the same time, don't change fields that
have already been set for a dive, unless the old field contents match
the currently selected ("master") dive.

So when you edit multiple dives, you can set the dive master or buddy
(or suit etc) for all of them in one go, but if one of them already has
that field set, it won't be modified just because you set the other
ones.

Acked-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
info.c