From fb2148e36275c29e7137bdd7f09260a7051d0193 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Thu, 20 Jul 2023 19:35:38 +0200 Subject: [PATCH] Comment out autoloading Keeping to aid fast development. Feel free to uncomment --- birdvisu/ui.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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…')