code: def update_warning(self):
          
          if len(self.warning_text) == 0:
              self.button_box.button(QDialogButtonBox.Ok).setEnabled(True)
          else:
              self.button_box.button(QDialogButtonBox.Ok).setEnabled(False)
  
          header = html_header()
          footer = html_footer()
          string = header
          heading = m.Heading(tr('Shakemap Grid Importer'), **INFO_STYLE)
          tips = m.BulletedList()
          message = m.Message()
          message.add(heading)
          for warning in self.warning_text:
              tips.add(warning)
  
          message.add(tips)
          string += message.to_html()
          string += footer
          self.info_web_view.setHtml(string)
docs: Update warning message and enable/disable Ok button.