Skip to content

Commit

Permalink
Also add balanced to intent names
Browse files Browse the repository at this point in the history
CURA-11221
  • Loading branch information
casperlamboo committed Nov 7, 2023
1 parent 9b9f6b1 commit cba4151
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/3MFReader/WorkspaceDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ def setIntentName(self, intent_name: str) -> None:
self._intent_name = intent_name.title()
self.intentNameChanged.emit()

if not self._intent_name:
self._intent_name = intent_translations["default"]["name"]
self.intentNameChanged.emit()

@pyqtProperty(str, notify=activeModeChanged)
def activeMode(self) -> str:
return self._active_mode
Expand Down

0 comments on commit cba4151

Please sign in to comment.