X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=site_configuration_dialog.py;h=651889c33bf49a23d99e014174a9644ffafe0b4b;hp=3b74ded52780ca4b72dbdc41b30fe3f25e7b2c43;hb=35c21d64e5d7554d2c610599a87c7f236b83d992;hpb=51a6ece9a63764e7a57230081d299f36d3186918 diff --git a/site_configuration_dialog.py b/site_configuration_dialog.py index 3b74ded..651889c 100644 --- a/site_configuration_dialog.py +++ b/site_configuration_dialog.py @@ -17,6 +17,7 @@ class SiteConfigDialog (PyQt4.QtGui.QDialog, uscd.Ui_SiteConfigDialog): self.destination.setText (destpath) def accept (self): + # check the required fields before accepting site_title = str (self.site_title.text ()).strip () site_url = str (self.site_url.text ()).strip () keywords = str (self.keywords.text ()).strip ()