Commit 319c0d44 authored by dmMaze's avatar dmMaze
Browse files

Keep richtext when running without updating text style and all stages disabled #498

parent 08c47887
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1038,7 +1038,7 @@ class MainWindow(mainwindow_cls):
                        textblk.default_stroke_width = 0.2
                        textblk.text = []
                        textblk.set_font_colors((0, 0, 0), (0, 0, 0))
                    if pcfg.module.enable_translate or all_disabled or pcfg.module.enable_ocr:
                    if pcfg.module.enable_translate or (all_disabled and not self._run_imgtrans_wo_textstyle_update) or pcfg.module.enable_ocr:
                        textblk.rich_text = ''
                        # textblk.font_size = textblk.detected_font_size ???
                    textblk.vertical = textblk.src_is_vertical