diff options
-rw-r--r-- | wizards/com/sun/star/wizards/web/FTPDialog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.py b/wizards/com/sun/star/wizards/web/FTPDialog.py index 6f3cf755893e..25b1c6bb15fb 100644 --- a/wizards/com/sun/star/wizards/web/FTPDialog.py +++ b/wizards/com/sun/star/wizards/web/FTPDialog.py @@ -249,7 +249,7 @@ class FTPDialog(WizardDialog): # according to the status of the hostname, username, password text fields. # If one of these fields is empty, the button is disabled. def enableTestButton(self): - self.setEnabled(self.btnTestConnection, not self.isEmpty(self.host) or self.isEmpty(self.username) or self.isEmpty(self.password)) + self.setEnabled(self.btnTestConnection, not (self.isEmpty(self.host) or self.isEmpty(self.username) or self.isEmpty(self.password))) # @param s # @return True if the string is None or "". |