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:
Ghostkeeper 2019-07-05 13:06:27 +02:00
parent 8cea9c5b87
commit 3729e90b24
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -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: