summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-16 12:31:09 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-16 12:31:09 -0300
commitcbbc7d99ea039b0b5bd676ec1802555d3707e0af (patch)
tree08e82ccd82300c796c86593e90df4016715d8dbd /qt-ui/maintab.h
parent2fb2918607ffb857543b9060fd9f18f0d07ab780 (diff)
downloadsubsurface-cbbc7d99ea039b0b5bd676ec1802555d3707e0af.tar.gz
Fix for double-rendering, double selection and other annoyances.
This patch fixes a thing that I run into when trying to implement the multi-edition system. Whenever a dive was selected, via mouse or keyboard, it had two stages: first, it would select the previous and the current ( and thus, render the profile of the current) and then whould release the previous and select the current again ( and thus, rerendering the profile again, plus a few other things. ) With the multi-edition system this caused a more severe bug, since the edition of the dives is directly applied as soon as the text fields changes, as soon as we selected any dive on the list, the 'before' dive would be modified by the 'current'. This patch fixes this - but since it's just a 'code removal' patch, this can led to bad things in the future, I tested it quite a bit, but didn't found anything, no regression. *fingers crossed.* Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/maintab.h')
0 files changed, 0 insertions, 0 deletions