do not strip asset name

This commit is contained in:
Jakub Trllo 2023-10-30 16:07:14 +01:00
parent 4c55f515dd
commit 319a236bb2

View file

@ -214,7 +214,7 @@ class CreatorWindow(QtWidgets.QDialog):
asset_name = self._asset_name_input.text()
# Early exit if no asset name
if not asset_name.strip():
if not asset_name:
self._build_menu()
self.echo("Asset name is required ..")
self._set_valid_state(False)