From f19ead56866972fd6483595b3830ce2ee08079c1 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Mon, 29 Sep 2025 14:39:37 +0200 Subject: [PATCH] Fix stuck UI when loading UFP then STL CURA-12055 Instead of just emitting the signal for the state change, actually set the state so that the UI and the model don't end up with inconsistent values --- plugins/GCodeReader/FlavorParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py index f83a9bbb34..fd73b58883 100644 --- a/plugins/GCodeReader/FlavorParser.py +++ b/plugins/GCodeReader/FlavorParser.py @@ -527,6 +527,6 @@ class FlavorParser: # The "save/print" button's state is bound to the backend state. backend = CuraApplication.getInstance().getBackend() - backend.backendStateChange.emit(Backend.BackendState.Disabled) + backend.setState(Backend.BackendState.Disabled) return scene_node