File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ pub struct CliOptions {
124124 #[ clap( long = "show-file-connection" ) ]
125125 pub show_file_connection : bool ,
126126
127- /// Don't use opengl in plots.
127+ /// Don't use opengl in plots. Plots will look nicer but require more system resources.
128128 #[ clap( long = "no-opengl" , parse( from_flag = Not :: not) ) ]
129129 pub no_opengl : bool ,
130130
Original file line number Diff line number Diff line change @@ -212,7 +212,10 @@ MainTab {
212212 firmwareVersion .currentVersion = updateTabData .fw_version_current ;
213213 firmwareVersion .latestVersion = updateTabData .fw_version_latest ;
214214 }
215- firmwareVersion .isSerialConnected = updateTabData .serial_prompt ;
215+ if (updateTabData .fw_version_current )
216+ firmwareVersion .isSerialConnected = updateTabData .serial_prompt ;
217+ else
218+ firmwareVersion .isSerialConnected = false ;
216219 if (! updateTab .visible )
217220 return ;
218221
You can’t perform that action at this time.
0 commit comments