Commits

Aleš Erjavec  committed 7e4ce69

Fixed Nx Explorer widget qualified name when using legacy Qwt5 based widget.

  • Participants
  • Parent commits 5694cf8

Comments (0)

Files changed (1)

File orangecontrib/network/widgets/OWNxExplorer.py

 REPLACES = ["_network.widgets.OWNxExplorer.OWNxExplorer"]
 
 try:
-    raise ImportError
     from OWNxCanvasQt import *
 
     class OWNxExplorer(OWWidget):
         # if Qwt is also not installed throw could not import orangeqt error
         raise err
 
-    from OWNxExplorerQwt import OWNxExplorerQwt as OWNxExplorer
+    from OWNxExplorerQwt import OWNxExplorerQwt as _OWNxExplorerQwt
+
+    class OWNxExplorer(_OWNxExplorerQwt):
+        pass
+
 
 if __name__ == "__main__":
     a = QApplication(sys.argv)