Browse Source

vdigit: fix testing empty input (#469)

Anna Petrasova 5 years ago
parent
commit
0cbbabb936
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/dbmgr/dialogs.py

+ 1 - 1
gui/wxpython/dbmgr/dialogs.py

@@ -248,7 +248,7 @@ class DisplayAttributesDialog(wx.Dialog):
 
                     if newvalue != value:
                         updatedColumns.append(name)
-                        if not newvalue:
+                        if newvalue == '':
                             updatedValues.append('NULL')
                         else:
                             if ctype != str: