Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Jan 19, 2025
1 parent 8d21bf5 commit 9b9c1f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions py/LunaTranslator/gui/setting_display_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ def __init__(self, parent) -> None:


def mayberefreshe():
if globalconfig["rendertext_using"] == "textbrowser":
return
gobject.baseobject.translation_ui.translate_text.refreshcontent()


Expand Down
4 changes: 2 additions & 2 deletions py/LunaTranslator/rendertext/textbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,10 @@ def showhideerror(self, show):
self.parent().refreshcontent()

def setfontstyle(self):
pass
self.parent().refreshcontent()

def setcolors(self):
pass
self.parent().refreshcontent()

def checkskip(self, texttype: TextType):
if (texttype in (TextType.Origin,)) and (not globalconfig["isshowrawtext"]):
Expand Down

0 comments on commit 9b9c1f7

Please sign in to comment.