Skip to content

Commit

Permalink
[GUI] Fixed workspace sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-7 committed Jul 16, 2020
1 parent 1e912cf commit cf373a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parsec/core/gui/claim_user_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def _on_claimer_error(self):
exc = None
if self.claimer_job.status == "invitation-not-found":
msg = _("TEXT_CLAIM_USER_INVITATION_NOT_FOUND")
elif self.claim_job.status == "backend-not-available":
elif self.claimer_job.status == "backend-not-available":
msg = _("TEXT_INVITATION_BACKEND_NOT_AVAILABLE")
else:
msg = _("TEXT_CLAIM_USER_UNKNOWN_ERROR")
Expand Down
2 changes: 1 addition & 1 deletion parsec/core/gui/workspace_sharing_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def has_changes(self):

def _on_share_success(self, job):
workspace_name, user_info, role = job.ret
self.line_edit_share.setText()
self.line_edit_share.setText("")
self.add_participant(user_info, is_current_user=False, role=role)

def _on_share_error(self, job):
Expand Down

0 comments on commit cf373a9

Please sign in to comment.