diff --git a/birdvisu/ui.py b/birdvisu/ui.py index 144cd2f..4a89e76 100644 --- a/birdvisu/ui.py +++ b/birdvisu/ui.py @@ -100,10 +100,10 @@ class MainWindow(QtWidgets.QMainWindow): topodiff_act.triggered.connect(self.topoDiffMode) mode_menu.addAction(topodiff_act) - # Hack! - autoload_act = QtGui.QAction("&Load automatically", self) - autoload_act.triggered.connect(self.autoLoad) - self.menubar.addAction(autoload_act) + ## Hack for fast testing. Feel free to uncomment and use. + #autoload_act = QtGui.QAction("&Load automatically", self) + #autoload_act.triggered.connect(self.autoLoad) + #self.menubar.addAction(autoload_act) topo_menu = self.menubar.addMenu('&Topology') ref_menu = topo_menu.addMenu("&Reference") @@ -151,7 +151,7 @@ class MainWindow(QtWidgets.QMainWindow): self.edgeWeightMode() #self.autoLoad() - #Hack + #Hack, feel free to tweak @Slot() def autoLoad(self): print('Auto-loading…')