Commits

Aleš Erjavec committed 1e0a71a Draft

Show the 'No documentation found' dialog in the main window.

  • Participants
  • Parent commits 5a36b47

Comments (0)

Files changed (1)

File Orange/OrangeCanvas/application/canvasmain.py

                 try:
                     url = self.help.search(url)
                 except KeyError:
+                    url = None
                     log.info("No help topic found for %r", url)
-                    return False
 
             if url:
                 self.show_help(url)
-                return True
+            else:
+                message_information(
+                    self.tr("Sorry there is no documentation available for "
+                            "this widget."),
+                    parent=self)
+
+            return True
 
         return QMainWindow.event(self, event)