code: def check_text(self, text):
          
          if to_text_string(text) == u'':
              self.button_ok.setEnabled(False)
          else:
              self.button_ok.setEnabled(True)
docs: Disable empty layout name possibility