Cura/cura
Ghostkeeper fcd585963f
Check if there is a global stack when discard/keep dialog closes
When we close Cura, we now remove the global stack first. If the discard/keep dialog closes as a result of closing Cura, this would crash since there is no global stack any more to discard changes from or keep changes in, and we can't access the extruder stacks either.
So if there's no global stack, just skip this. It'll be as if you selected 'keep'.

Fixes Sentry issue CURA-2ET.
2021-06-17 13:44:02 +02:00
..
API Decrease update interval to 60 sec 2021-04-30 10:51:15 +02:00
Arranging Slightly increase spacing when arranging models 2021-04-21 15:56:59 +02:00
Backups Compare version-objects, not strings. 2021-06-03 09:25:59 +02:00
Machines Fix quality_changes profile not showing 2021-06-15 11:12:18 +02:00
OAuth2 Interpret timeouts as general connection errors 2021-06-07 15:03:46 +02:00
Operations Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
PrinterOutput Prevent division by 0 if total download size is 0 2020-07-06 17:23:58 +02:00
ReaderWriters Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Scene Merge pull request #9884 from Ultimaker/CURA-7873_fix_positioning_merged_meshes 2021-06-08 12:37:34 +02:00
Settings Add notion of whether printers support the material export archive 2021-06-08 16:50:03 +02:00
Stages Move CuraStage back to where plugins expect it. 2019-03-29 13:11:03 +01:00
TaskManagement Move HttpRequestManager to Uranium 2020-01-03 08:59:29 +01:00
UI Allow renaming groups to something other than "Group #n" 2021-04-19 22:14:14 +02:00
UltimakerCloud Not logged in for API calls is not a warning 2020-10-16 14:15:18 +02:00
Utils Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
__init__.py T466: Revert the previous commit since it messed up the file rights. 2016-12-23 15:53:15 -05:00
ApplicationMetadata.py Update SDK/API from 7.5.0 to 7.6.0 for 4.10 2021-06-15 16:08:07 +02:00
AutoSave.py Print how much time it took to autosave dirty profiles 2021-05-06 10:54:38 +02:00
BuildVolume.py Ensure that the skirt_brim_line_width is selected from right extruder 2020-12-18 11:31:55 +01:00
CameraAnimation.py Merge pull request #905 from Ultimaker/snappier_camera_animation 2017-10-24 10:36:55 +02:00
CrashHandler.py Apply bitmask to user scope 2020-09-08 02:00:58 +02:00
CuraActions.py Fix code style 2021-06-14 15:41:30 +02:00
CuraApplication.py Check if there is a global stack when discard/keep dialog closes 2021-06-17 13:44:02 +02:00
CuraPackageManager.py Merge remote-tracking branch 'origin/master' into doxygen_to_restructuredtext_comments 2020-05-28 17:31:24 +02:00
CuraVersion.py.in Add the CURA_DIGITAL_FACTORY_URL variable 2020-09-14 21:15:32 +02:00
CuraView.py Fix bunch of issues found by pylint 2020-01-10 16:37:46 +01:00
Layer.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
LayerData.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
LayerDataBuilder.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
LayerDataDecorator.py Converted comments in dir Cura/cura to rst style 2020-04-21 16:58:45 +02:00
LayerPolygon.py Fix mypy issues caused by numpy upgrade 2021-04-07 11:47:52 +02:00
MachineAction.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
MultiplyObjectsJob.py Modify arrange() to optionally create AddSceneNodeOperations 2020-10-09 17:12:59 +02:00
OneAtATimeIterator.py Exclude objects outside buildplate from OneAtATimeIterator 2020-10-14 17:14:38 +02:00
PickingPass.py Pass the cached normal transformation to the rendere 2020-06-30 13:39:32 +02:00
PlatformPhysics.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
PreviewPass.py Revert "Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7"" 2020-08-20 16:35:52 +02:00
PrinterOutputDevice.py Fix typo in a log warning message 2019-05-16 12:04:26 +02:00
PrintJobPreviewImageProvider.py Converted comments in dir Cura/cura to rst style 2020-04-21 16:58:45 +02:00
SingleInstance.py Consider user preference when opening project files from cli. 2019-10-01 11:54:53 +02:00
Snapshot.py Fix mypy issues caused by numpy upgrade 2021-04-07 11:47:52 +02:00
XRayPass.py Pass the cached normal transformation to the rendere 2020-06-30 13:39:32 +02:00