summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/searchbar.ui
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-07-21 22:24:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-11 16:22:27 -0700
commitba9c35215e88dea0505e0f82531941797fc1ce7d (patch)
tree64cf80c41431651de4a5fb0020dd29aa94a6c625 /desktop-widgets/searchbar.ui
parentc30efc95d47291d8eadc6a5902eb5cc2a1dba13c (diff)
downloadsubsurface-ba9c35215e88dea0505e0f82531941797fc1ce7d.tar.gz
Dive editing: don't repeatedly loop through whole dive list
On dive editing, for every changed field the code looped through the whole dive-list and modified the selected dives. Instead, get the list of selected dives once and use that. Whereas this may look like a gratuitous optimization, it will make things easier for subsequent commits. Notably, we can pass the list of selected dives to an "UndoObject". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/searchbar.ui')
0 files changed, 0 insertions, 0 deletions