From 021361f836f6d91112818cb218ed68d630ad4561 Mon Sep 17 00:00:00 2001 From: Arda Aydin Date: Sat, 19 Sep 2026 14:17:15 +0300 Subject: [PATCH] Allow empty password in Connect and Discover dialogs Some devices have no password configured, so only username is required. Co-Authored-By: Claude Opus 4.6 --- app_state.py | 2 +- connect_dialog.py | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app_state.py b/app_state.py index 36dcef2..5fca619 100644 --- a/app_state.py +++ b/app_state.py @@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it. import configparser import os -VERSION = "0.0.0.100" +VERSION = "0.0.0.102" PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties") DEFAULT_GRID_SIZE = 10 DEFAULT_ADD_TIMESTAMP = True diff --git a/connect_dialog.py b/connect_dialog.py index 64cd725..7879031 100644 --- a/connect_dialog.py +++ b/connect_dialog.py @@ -96,9 +96,6 @@ class ConnectDialog: if not user: self._status_label.config(text="Username is required", foreground="#c00000") return - if not password: - self._status_label.config(text="Password is required", foreground="#c00000") - return try: port_int = int(port) @@ -393,9 +390,6 @@ class _CredentialsDialog: if not user: self._status_label.config(text="Username is required", foreground="#c00000") return - if not password: - self._status_label.config(text="Password is required", foreground="#c00000") - return try: port_int = int(self._port)