subsurface/qt-ui
Dirk Hohndel cd77e2e700 Make sure there is a dive site if you try to edit it
If the user clicks on manage (or double clicks on the globe) and the
displayed_dive doesn't actually have a dive site associated with it (e.g.
because we are adding a dive or because it was imported or downloaded
without dive site information, then we need to make sure that there is an
empty dive site that we can make changes to.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-13 22:45:31 -08:00
..
css Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
marble Resync included header with upstream 2014-01-15 15:49:50 +07:00
profile Fix broken connection 2015-02-10 10:45:46 -08:00
statistics Implement the modelDataChanged to repopulate the widget on Statistics 2014-08-25 14:00:38 -07:00
about.cpp Get ready for Beta 3 2015-02-01 07:08:11 -08:00
about.h Headers cleanup. 2014-06-26 15:47:02 -07:00
about.ui SubsurfaceAbout class cleanup. 2014-02-08 08:00:27 -08:00
completionmodels.cpp Update completion model for dive site names 2015-02-12 11:19:27 -08:00
completionmodels.h Put include guard to every header 2014-02-11 12:37:01 -08:00
configuredivecomputerdialog.cpp Remove the ProfileWidget from mainwindow.ui 2015-02-10 10:45:45 -08:00
configuredivecomputerdialog.h Whitespace cleanup 2014-12-28 21:02:28 -08:00
configuredivecomputerdialog.ui Use a progressbar in the configure dc dialog 2015-01-21 17:03:18 +12:00
divecomponentselection.ui Switch components for cut/paste dive to dive site logic 2015-02-12 21:11:51 -08:00
divecomputermanagementdialog.cpp Remove the DiveList from the mainwindow.ui 2015-02-10 10:45:45 -08:00
divecomputermanagementdialog.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divecomputermanagementdialog.ui divecomputermanagementdilog capitalisation consitency 2014-07-10 16:26:20 -07:00
divelistview.cpp Add option to undo deleted dives 2015-02-11 08:07:23 -08:00
divelistview.h Move the Facebook send profile button 2014-12-29 09:05:08 -08:00
divelogexportdialog.cpp Export the XSLT based exports in a new thread. 2015-01-31 10:15:12 -08:00
divelogexportdialog.h Export the XSLT based exports in a new thread. 2015-01-31 10:15:12 -08:00
divelogexportdialog.ui Enable and disable unit selection 2014-12-31 12:12:59 -08:00
divelogimportdialog.cpp Remove the ProfileWidget from mainwindow.ui 2015-02-10 10:45:45 -08:00
divelogimportdialog.h CSV import: make predefined imports work again 2015-01-07 17:02:42 -08:00
divelogimportdialog.ui CVS import UI: better message if some columns were matched 2015-01-07 12:41:06 -08:00
divepicturewidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divepicturewidget.h Picture handling: cleaning up the mess 2014-08-05 12:37:14 -07:00
diveplanner.cpp Remove the ProfileWidget from mainwindow.ui 2015-02-10 10:45:45 -08:00
diveplanner.h Move the Profile out of the mainwindow.ui 2015-02-10 10:45:46 -08:00
diveplanner.ui Support different salinity in planner 2014-11-12 14:42:15 -08:00
diveshareexportdialog.cpp Prevent crash on shutdown 2015-01-30 07:16:12 -08:00
diveshareexportdialog.h Export to DiveShare 2014-10-14 20:33:46 +02:00
diveshareexportdialog.ui Two small fixes regarding translation texts 2014-11-10 13:10:50 -08:00
downloadfromdivecomputer.cpp Remove the ProfileWidget from mainwindow.ui 2015-02-10 10:45:45 -08:00
downloadfromdivecomputer.h Dive d/l selection UI: clear table when retrying 2015-01-11 07:46:21 -08:00
downloadfromdivecomputer.ui Typos, punctuation and capitalisation. 2015-01-26 07:25:37 -08:00
filtermodels.cpp Make filters work with dive sites 2015-02-12 22:45:47 -08:00
filtermodels.h Remove unused DivesFilteredOut variable 2014-11-16 18:39:29 +00:00
filterwidget.ui Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
globe.cpp Allow editing of dive sites 2015-02-13 14:27:35 -08:00
globe.h Add the first call to registerApplicationState 2015-02-10 10:45:44 -08:00
graphicsview-common.cpp CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
graphicsview-common.h CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
groupedlineedit.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
groupedlineedit.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
kmessagewidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
kmessagewidget.h 727 fixed 2014-11-17 06:02:21 +00:00
listfilter.ui Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
locationInformation.ui Create simple class to hold the location management. 2015-02-11 16:34:02 -08:00
maintab.cpp maintab change for get_dive_site_uuid_by_name 2015-02-13 14:27:34 -08:00
maintab.h Remove coordinates from main tab 2015-02-12 22:45:47 -08:00
maintab.ui Fix compile time warning 2015-02-13 14:45:31 -08:00
mainwindow.cpp When adding / planning a dive, reset the dive site manage screen 2015-02-13 22:42:57 -08:00
mainwindow.h Correctly connect the maintab to dive site management 2015-02-12 11:19:27 -08:00
mainwindow.ui Reverse undo buffer 2015-02-11 07:59:46 -08:00
metrics.cpp Unify icon metrics 2014-10-18 15:16:15 -07:00
metrics.h Unify icon metrics 2014-10-18 15:16:15 -07:00
modeldelegates.cpp Finish the cleanup of mainwindow.ui 2015-02-10 10:45:46 -08:00
modeldelegates.h Turn of replotting while the cylinder type combo box is active 2014-12-17 21:33:55 -08:00
models.cpp Show dive site name in dive list 2015-02-12 12:54:20 -08:00
models.h Add the ability to modify the cylinder use in the UI 2014-11-17 14:03:37 +00:00
plannerDetails.ui Add the PlannerDetails class 2015-02-10 10:45:45 -08:00
plannerSettings.ui Rebreather type selector UI 2015-01-10 17:27:24 -08:00
preferences.cpp Remove the DiveList from the mainwindow.ui 2015-02-10 10:45:45 -08:00
preferences.h Ignore QWebView in Android 2015-01-14 07:49:24 +13:00
preferences.ui Try to make the Facebook interaction be more pleasant 2015-01-30 22:36:49 -08:00
printdialog.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
printdialog.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printlayout.cpp Get location from dive site for printing 2015-02-12 22:45:47 -08:00
printlayout.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
printoptions.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.ui Fix the layout on the Print Dialog 2014-08-04 09:50:55 -07:00
renumber.ui Make some dialogs modal to MainWindow 2014-03-12 10:14:17 -07:00
searchbar.ui Add a horizontal spacer to make the searchbar layout better 2014-07-11 17:00:23 -07:00
setpoint.ui A widget to add a set-point change 2014-12-01 14:19:03 -08:00
shiftimagetimes.ui shifimmagetimes capitalisation consitency and title 2014-07-11 07:05:10 -07:00
shifttimes.ui shiftimes capitalisation consitency and title 2014-07-11 07:05:17 -07:00
simplewidgets.cpp Make sure there is a dive site if you try to edit it 2015-02-13 22:45:31 -08:00
simplewidgets.h Allow editing of dive sites 2015-02-13 14:27:35 -08:00
socialnetworks.cpp Get location for Facebook from dive site 2015-02-12 22:45:47 -08:00
socialnetworks.h Facebook integration: Album name is required 2014-12-29 11:59:21 -08:00
socialnetworksdialog.ui Facebook integration: improve dialog layout 2014-12-29 11:58:38 -08:00
starwidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
starwidget.h Unify icon metrics 2014-10-18 15:16:15 -07:00
subsurfacewebservices.cpp Adapt GPS coordinate download from our companion app to dive sites 2015-02-13 14:27:34 -08:00
subsurfacewebservices.h Give Subsurface a distinct User Agent string 2014-07-31 11:20:11 -07:00
tableview.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
tableview.h Fix plus icon position based on the theme 2014-10-18 15:18:38 -07:00
tableview.ui Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
tagwidget.cpp Remove information panel from mainwindow.ui 2015-02-10 10:45:45 -08:00
tagwidget.h 727 fixed 2014-11-17 06:02:21 +00:00
undocommands.cpp Add option to undo deleted dives 2015-02-11 08:07:23 -08:00
undocommands.h Add a structure to hold undo commands 2015-02-11 08:05:53 -08:00
updatemanager.cpp Minor whitespace change - this line was getting long 2015-01-30 22:07:36 -08:00
updatemanager.h Add unique but random UUID to server queries 2015-01-25 12:02:13 -08:00
usermanual.cpp Make search and close shortcut for user manual work on Mac 2015-01-28 14:30:19 -08:00
usermanual.h Make search and close shortcut for user manual work on Mac 2015-01-28 14:30:19 -08:00
usersurvey.cpp Add unique but random UUID to server queries 2015-01-25 12:02:13 -08:00
usersurvey.h Better User Agent for Subsurface 2014-08-08 11:13:05 -07:00
usersurvey.ui Include iPhone companion app to user survey 2015-01-30 22:48:08 -08:00
webservices.ui webservice capitalisation consitency 2014-07-11 07:05:38 -07:00