소스 검색

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.