Skip to content

Commit

Permalink
login button always triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
mpatrou committed Jan 17, 2025
1 parent 554fb9b commit 489af74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pyoncatqt/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,6 @@ def get_agent_instance(self: QGroupBox) -> pyoncat.ONCat:

def connect_to_oncat(self: QGroupBox) -> None:
"""Connect to OnCat"""
# Check if already connected to OnCat
if self.is_connected:
return

self.login_dialog.exec_()
self.update_connection_status()
Expand Down

0 comments on commit 489af74

Please sign in to comment.