subsurface/qt-ui
Dirk Hohndel 4a04fc2a1b Fix selection logic when manually adding a dive
This was an interesting bug. When adding a dive that would end up in the
middle of the dive list, the newest dive in the dive list would end up
marked in the dive structure as selected - even though it wasn't
visualized as selected by Qt. Bad things happen if the user then made
changes to that dive without selecting something else first, for example
by either editing the dive or doing things to it like removing it from or
adding it to a trip. The same operation would also be applied to the
newest dive in the dive list.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-08-21 17:58:15 -07:00
..
css
marble
profile Make sure tank bar button triggers tank bar 2014-08-21 07:52:14 -05:00
about.cpp
about.h
about.ui
completionmodels.cpp
completionmodels.h
configuredivecomputerdialog.cpp Show correct path after saving dive computer settings 2014-08-21 13:31:34 -05:00
configuredivecomputerdialog.h Change Dive Computer Configuration dialog 2014-08-13 10:48:15 -07:00
configuredivecomputerdialog.ui Change Dive Computer Configuration dialog 2014-08-13 10:48:15 -07:00
divecomponentselection.ui Selective copy: forgot tags in the UI 2014-08-16 18:35:44 -06:00
divecomputermanagementdialog.cpp
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp Fix selection logic when manually adding a dive 2014-08-21 17:58:15 -07:00
divelistview.h Dive list: seriously simplify the "add to trip" code 2014-08-21 14:20:03 -05:00
divelogexportdialog.cpp HTML: export Translated strings to JSON files. 2014-08-11 08:21:19 -07:00
divelogexportdialog.h HTML: Add total row to yearly statistics table. 2014-08-11 08:21:03 -07:00
divelogexportdialog.ui HTML: Remember General Export Settings. 2014-08-11 08:21:13 -07:00
divelogimportdialog.cpp
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h
diveplanner.cpp Planner: Control-Click removes divedatapoint and all following ones 2014-08-21 16:16:38 -05:00
diveplanner.h Planner: correctly free divedatapoints 2014-08-19 15:06:39 -05:00
diveplanner.ui
downloadfromdivecomputer.cpp Add "download into private trip" dialog checkmark 2014-08-14 22:40:14 -06:00
downloadfromdivecomputer.h
downloadfromdivecomputer.ui Add "download into private trip" dialog checkmark 2014-08-14 22:40:14 -06:00
globe.cpp Crash clicking on the globe without a dive 2014-08-21 14:31:15 -05:00
globe.h
graphicsview-common.cpp
graphicsview-common.h
groupedlineedit.cpp
groupedlineedit.h
kmessagewidget.cpp
kmessagewidget.h
maintab.cpp Fix selection logic when manually adding a dive 2014-08-21 17:58:15 -07:00
maintab.h Cut'n'paste for dive data: implement paste side 2014-08-17 11:58:11 -06:00
maintab.ui
mainwindow.cpp Fix crash when calling the planner twice in a row 2014-08-19 21:57:15 -05:00
mainwindow.h Add ability to replan a dive that we planned before 2014-08-19 21:17:52 -05:00
mainwindow.ui Add ability to replan a dive that we planned before 2014-08-19 21:17:52 -05:00
modeldelegates.cpp
modeldelegates.h
models.cpp Rename dive gas function and defines for clarity 2014-08-11 08:41:57 -07:00
models.h Rename the model column from NITROX to GAS 2014-08-11 08:41:36 -07:00
plannerSettings.ui Planner: bring sanity to the SAC rate handling 2014-08-19 11:36:54 -05:00
preferences.cpp TankBar: hook into prefs and make ppGraphs resize accordingly 2014-08-15 08:11:14 -06:00
preferences.h
preferences.ui Preferences: increment/decrement partial perssure values by .1 2014-08-18 14:21:11 -05:00
printdialog.cpp
printdialog.h
printlayout.cpp
printlayout.h
printoptions.cpp
printoptions.h
printoptions.ui
renumber.ui
searchbar.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp Selective copy: forgot tags in the UI 2014-08-16 18:35:44 -06:00
simplewidgets.h Cut'n'paste for dive data: implement copy side 2014-08-16 10:07:06 -06:00
starwidget.cpp
starwidget.h
subsurfacewebservices.cpp Better User Agent for Subsurface 2014-08-08 11:13:05 -07:00
subsurfacewebservices.h
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp
tagwidget.h
updatemanager.cpp Better User Agent for Subsurface 2014-08-08 11:13:05 -07:00
updatemanager.h
usermanual.cpp
usermanual.h
usersurvey.cpp Survey: rename "Save" button to "Send" 2014-08-15 21:41:41 -06:00
usersurvey.h Better User Agent for Subsurface 2014-08-08 11:13:05 -07:00
usersurvey.ui
webservices.ui