Hide create button if connection doesn't work

This commit is contained in:
Cédric Krier committed 2008-10-20 13:32:02 +02:00
1 parent 3d0fccbee6
commit 51ece45c83
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ class DBLogin(object):
_('Incompatible version of the server!') + '</b>')
db_widget.hide()
label.show()
button.show()
button.hide()
if butconnect:
butconnect.set_sensitive(False)
elif res == 0: