mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Fix getting original intent category
It's now a property so it doesn't need the brackets. Contributes to issue CURA-6597.
This commit is contained in:
parent
8cea9c5b87
commit
3729e90b24
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class IntentManager(QObject):
|
||||||
## Apply intent on the stacks.
|
## Apply intent on the stacks.
|
||||||
@pyqtSlot(str, str)
|
@pyqtSlot(str, str)
|
||||||
def selectIntent(self, intent_category: str, quality_type: str) -> None:
|
def selectIntent(self, intent_category: str, quality_type: str) -> None:
|
||||||
old_intent_category = self.getCurrentIntentCategory()
|
old_intent_category = self.getCurrentIntentCategory
|
||||||
application = cura.CuraApplication.CuraApplication.getInstance()
|
application = cura.CuraApplication.CuraApplication.getInstance()
|
||||||
global_stack = application.getGlobalContainerStack()
|
global_stack = application.getGlobalContainerStack()
|
||||||
if global_stack is None:
|
if global_stack is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue