Skip to content

Commit

Permalink
strip trailing whitespace from project name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Caha committed Mar 15, 2024
1 parent 39cad36 commit ca27baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mergin/create_project_wizard.py
Expand Up @@ -174,7 +174,7 @@ def check_input(self):
if not self.project_owner_cbo.currentData(Qt.UserRole):
self.create_warning("You do not have permissions to create a project in this workspace!")
return
proj_name = self.project_name_ledit.text()
proj_name = self.project_name_ledit.text().strip()
if not proj_name:
self.create_warning("Project name missing!")
return
Expand Down

0 comments on commit ca27baf

Please sign in to comment.