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 <noreply@anthropic.com>
This commit is contained in:
2026-09-19 14:17:15 +03:00
co-authored by Claude Opus 4.6
parent 05d0ac8c03
commit 021361f836
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it.
import configparser import configparser
import os 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") PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties")
DEFAULT_GRID_SIZE = 10 DEFAULT_GRID_SIZE = 10
DEFAULT_ADD_TIMESTAMP = True DEFAULT_ADD_TIMESTAMP = True
-6
View File
@@ -96,9 +96,6 @@ class ConnectDialog:
if not user: if not user:
self._status_label.config(text="Username is required", foreground="#c00000") self._status_label.config(text="Username is required", foreground="#c00000")
return return
if not password:
self._status_label.config(text="Password is required", foreground="#c00000")
return
try: try:
port_int = int(port) port_int = int(port)
@@ -393,9 +390,6 @@ class _CredentialsDialog:
if not user: if not user:
self._status_label.config(text="Username is required", foreground="#c00000") self._status_label.config(text="Username is required", foreground="#c00000")
return return
if not password:
self._status_label.config(text="Password is required", foreground="#c00000")
return
try: try:
port_int = int(self._port) port_int = int(self._port)