File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1098,10 +1098,10 @@ def btn_clear_status_clicked(self):
10981098
10991099 def btn_save_status_clicked (self ):
11001100 if self .w .stackedWidget_log .currentIndex ():
1101- text = self .w .integrator_log .toPlainText ()
1101+ text = self .w .integrator_log .getLogText ()
11021102 name = 'sysLog_'
11031103 else :
1104- text = self .w .machinelog .toPlainText ()
1104+ text = self .w .machinelog .getLogText ()
11051105 name = 'mchnLog_'
11061106 filename = self .w .lbl_clock .text ()
11071107 filename = name + filename .replace (' ' ,'_' ) + '.txt'
Original file line number Diff line number Diff line change @@ -1148,10 +1148,10 @@ def btn_clear_status_clicked(self):
11481148
11491149 def btn_save_status_clicked (self ):
11501150 if self .w .stackedWidget_log .currentIndex ():
1151- text = self .w .integrator_log .toPlainText ()
1151+ text = self .w .integrator_log .getLogText ()
11521152 name = 'sysLog_'
11531153 else :
1154- text = self .w .machinelog .toPlainText ()
1154+ text = self .w .machinelog .getLogText ()
11551155 name = 'mchnLog_'
11561156 filename = self .w .lbl_clock .text ()
11571157 filename = name + filename .replace (' ' ,'_' ) + '.txt'
Original file line number Diff line number Diff line change @@ -1148,10 +1148,10 @@ def btn_clear_status_clicked(self):
11481148
11491149 def btn_save_status_clicked (self ):
11501150 if self .w .stackedWidget_log .currentIndex ():
1151- text = self .w .integrator_log .toPlainText ()
1151+ text = self .w .integrator_log .getLogText ()
11521152 name = 'sysLog_'
11531153 else :
1154- text = self .w .machinelog .toPlainText ()
1154+ text = self .w .machinelog .getLogText ()
11551155 name = 'mchnLog_'
11561156 filename = self .w .lbl_clock .text ()
11571157 filename = name + filename .replace (' ' ,'_' ) + '.txt'
Original file line number Diff line number Diff line change @@ -1105,10 +1105,10 @@ def btn_clear_status_clicked(self):
11051105
11061106 def btn_save_status_clicked (self ):
11071107 if self .w .stackedWidget_log .currentIndex ():
1108- text = self .w .integrator_log .toPlainText ()
1108+ text = self .w .integrator_log .getLogText ()
11091109 name = 'sysLog_'
11101110 else :
1111- text = self .w .machinelog .toPlainText ()
1111+ text = self .w .machinelog .getLogText ()
11121112 name = 'mchnLog_'
11131113 filename = self .w .lbl_clock .text ()
11141114 filename = name + filename .replace (' ' ,'_' ) + '.txt'
You can’t perform that action at this time.
0 commit comments