Remove the name when there _isn't_ platform activity.

Not the other way around, doh.

part of CURA-8897
This commit is contained in:
Remco Burema 2024-03-28 08:48:01 +01:00
parent 228c490e0e
commit cbe3afba94

View File

@ -1459,9 +1459,9 @@ class CuraApplication(QtApplication):
self.sceneBoundingBoxChanged.emit() self.sceneBoundingBoxChanged.emit()
if count > 0: if count > 0:
ProjectOutputDevice.setLastOutputName(None)
self._platform_activity = True self._platform_activity = True
else: else:
ProjectOutputDevice.setLastOutputName(None)
self._platform_activity = False self._platform_activity = False
self.activityChanged.emit() self.activityChanged.emit()