瀏覽代碼

Made Live Plot open automatically on startup

Timo Dritschler 3 年之前
父節點
當前提交
a7e6272eed
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      KCG/base/MultiWidget.py

+ 4 - 0
KCG/base/MultiWidget.py

@@ -118,6 +118,10 @@ class MultiWidget(QtGui.QWidget):
         self.evaluate_registered_widgets()
         self.evaluate_registered_widget_functions()
 
+        #Automatically open a Live Plot on load complete
+        #This is purely for user convenience
+        self.leftBar.add_plot(LeftBar.LIVE)
+
     def addToolbarButton(self, icon, text, target, shortcut=None):
         """
         Add a toolbar button.