File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ def __init__(self):
112112 self .init_quick_view ()
113113 self .init_analysis_view ()
114114 self .mdiArea .cascadeSubWindows ()
115- # check for updates
116- do_update = int (self .settings .value ("general/check for updates" , 1 ))
117- self .on_action_check_update (do_update ) # check for updates if True
118115 # BLOCK MATRIX (wraps DataMatrix and PlotMatrix)
119116 # BlockMatrix appearance
120117 self .toolButton_dm .clicked .connect (self .on_data_matrix )
@@ -158,13 +155,17 @@ def __init__(self):
158155 self .widget_ana_view .plot_changed .connect (self .adopt_plot )
159156 # slot signals
160157 self .widget_ana_view .slot_changed .connect (self .adopt_slot )
161- # check pyqtgraph version
162- self ._check_pg_version ()
163158 # if "--version" was specified, print the version and exit
164159 if "--version" in sys .argv :
165160 print (__version__ )
166161 QtWidgets .QApplication .processEvents ()
167162 sys .exit (0 )
163+ # check pyqtgraph version
164+ self ._check_pg_version ()
165+ # check for updates
166+ do_update = int (self .settings .value ("general/check for updates" , 1 ))
167+ self .on_action_check_update (do_update )
168+ # finalize
168169 self .show ()
169170 self .raise_ ()
170171 self .activateWindow ()
You can’t perform that action at this time.
0 commit comments