subsurface/desktop-widgets
Michael Andreen be2bdb8650 undo: Clear undo stack on file close
The undo stack is only relevant to the dives that were loaded at the
time the command was executed. If a file is closed, by specifically
closing it or opening another file, then the undo commands will
reference dives that aren't available anymore. Clearing the undo stack
ensures that we don't crash or accidentally do some undefined
modifications to the currently open file.

Signed-off-by: Michael Andreen <michael@andreen.dev>
2022-04-03 08:34:39 -07:00
..
css
preferences build-system: update cmake to allow Qt5 and Qt6 2022-03-12 08:28:32 -08:00
qml
statistics
tab-widgets core: fold display.h into profile.h 2022-03-13 15:07:33 -07:00
about.cpp cleanup: don't add QKeySequence values 2022-03-12 08:28:32 -08:00
about.h
about.ui
addfilterpreset.ui
btdeviceselectiondialog.cpp Qt6: Bluetooth API changes 2022-03-12 08:28:32 -08:00
btdeviceselectiondialog.h
btdeviceselectiondialog.ui
CMakeLists.txt cleanup: remove maintab.ui 2022-03-12 18:33:34 +01:00
configuredivecomputerdialog.cpp core: fold display.h into profile.h 2022-03-13 15:07:33 -07:00
configuredivecomputerdialog.h
configuredivecomputerdialog.ui configure-dc: Add support for ostc3 Auto SP mode 2022-03-28 13:46:37 -07:00
divecomponentselection.ui core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
divelistview.cpp Allow more than one media file when importing from the web 2022-04-01 08:28:05 -07:00
divelistview.h Allow more than one media file when importing from the web 2022-04-01 08:28:05 -07:00
divelogexportdialog.cpp cleanup: fix incorrect QFuture return value 2022-03-12 08:28:32 -08:00
divelogexportdialog.h
divelogexportdialog.ui
divelogimportdialog.cpp Qt6: add required QFile header 2022-03-12 08:28:32 -08:00
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h
diveplanner.cpp Allow editing sensors through equipment tab 2022-03-12 11:24:50 -08:00
diveplanner.h
diveplanner.ui
diveshareexportdialog.cpp Qt6: move connection into C++ source 2022-03-12 08:28:32 -08:00
diveshareexportdialog.h
diveshareexportdialog.ui Qt6: move connection into C++ source 2022-03-12 08:28:32 -08:00
divesiteimportdialog.cpp core: fold display.h into profile.h 2022-03-13 15:07:33 -07:00
divesiteimportdialog.h
divesiteimportdialog.ui
downloadfromdivecomputer.cpp core: fold display.h into profile.h 2022-03-13 15:07:33 -07:00
downloadfromdivecomputer.h Qt6: if we want the QString argument we need the TextChanged slot 2022-03-12 08:28:32 -08:00
downloadfromdivecomputer.ui
filterconstraintwidget.cpp cleanup: Fix a Coverity warning 2022-02-15 09:30:43 -08:00
filterconstraintwidget.h
filterwidget.cpp desktop: fold ApplicationState into MainWindow 2021-02-17 07:26:55 -08:00
filterwidget.h
filterwidget.ui
findmovedimagesdialog.cpp
findmovedimagesdialog.h
findmovedimagesdialog.ui
groupedlineedit.cpp Qt6: add include files to keep QVectorIterator working 2022-03-12 08:28:32 -08:00
groupedlineedit.h
importgps.cpp
importgps.h
importgps.ui
kmessagewidget.cpp cleanup: prevent distracing conversion warnings 2022-03-12 08:28:32 -08:00
kmessagewidget.h
listfilter.ui
locationinformation.cpp Qt6: deal with changes to window and layout geometry APIs 2022-03-12 08:28:32 -08:00
locationinformation.h
locationinformation.ui
mainwindow.cpp undo: Clear undo stack on file close 2022-04-03 08:34:39 -07:00
mainwindow.h desktop: prevent exit only in plan but not in edit mode 2022-03-12 18:33:34 +01:00
mainwindow.ui profile: remove profile widget code from mainwindow 2021-12-17 11:54:23 -08:00
mapwidget.cpp
mapwidget.h
modeldelegates.cpp cleanup: pass all parameters to weightsystem_t 2022-01-02 13:51:07 -08:00
modeldelegates.h
notificationwidget.cpp cleanup: fix incorrect QFuture return value 2022-03-12 08:28:32 -08:00
notificationwidget.h cleanup: fix incorrect QFuture return value 2022-03-12 08:28:32 -08:00
plannerDetails.ui
plannerSettings.ui
printdialog.cpp
printdialog.h
printer.cpp profile: merge plotDive() into draw() call 2021-12-17 11:54:23 -08:00
printer.h profile: for printing/mobile access ProfileScene directly 2021-12-17 11:54:23 -08:00
printoptions.cpp
printoptions.h
printoptions.ui
profilewidget.cpp profile: mute a Coverity warning 2022-03-13 14:58:30 -07:00
profilewidget.h profile: automatically enter edit mode 2022-03-12 18:33:34 +01:00
profilewidget.ui profile: remove profile widget code from mainwindow 2021-12-17 11:54:23 -08:00
qtwaitingspinner.cpp cleanup: prevent distracing conversion warnings 2022-03-12 08:28:32 -08:00
qtwaitingspinner.h
renumber.ui
searchbar.ui
setpoint.ui
shiftimagetimes.ui desktop/image-time-shift: reorder UI 2021-09-22 09:09:12 -07:00
shifttimes.ui cleanup: remove duplicate connections in .ui files 2022-03-12 08:28:32 -08:00
simplewidgets.cpp Allow more than one media file when importing from the web 2022-04-01 08:28:05 -07:00
simplewidgets.h desktop/image: allow larger range for manual time shift 2021-09-22 09:09:12 -07:00
starwidget.cpp
starwidget.h
statswidget.cpp Qt6: prevent QML object from being garbage collected 2022-03-12 08:28:32 -08:00
statswidget.h Qt6: prevent QML object from being garbage collected 2022-03-12 08:28:32 -08:00
statswidget.ui statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -08:00
subsurfacewebservices.cpp Qt6: deal with changes from QStringRef to QStringView 2022-03-12 08:28:32 -08:00
subsurfacewebservices.h
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp Qt6: adjust for changed argument types 2022-03-12 08:28:32 -08:00
tagwidget.h
templateedit.cpp
templateedit.h
templateedit.ui
templatelayout.cpp printing: add gas fractions to print template and user manual 2022-03-04 12:02:35 -08:00
templatelayout.h
textedit.cpp
textedit.h
tripselectiondialog.cpp cleanup: don't add QKeySequence values 2022-03-12 08:28:32 -08:00
tripselectiondialog.h
tripselectiondialog.ui
updatemanager.cpp
updatemanager.h
urldialog.ui Allow more than one media file when importing from the web 2022-04-01 08:28:05 -07:00
usermanual.cpp
usermanual.h
webservices.ui