mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
once
This commit is contained in:
parent
0c90c6ca7d
commit
b938a2c61f
@ -884,7 +884,10 @@ class TranslatorWindow(resizableframeless):
|
|||||||
self.enterfunction(2 + globalconfig["disappear_delay_tool"])
|
self.enterfunction(2 + globalconfig["disappear_delay_tool"])
|
||||||
self.autohidedelaythread()
|
self.autohidedelaythread()
|
||||||
self.tracewindowposthread()
|
self.tracewindowposthread()
|
||||||
self.__showlinks()
|
today = time.strftime("%Y-%m-%d", time.localtime())
|
||||||
|
if globalconfig.get("lastvisday", None) != today:
|
||||||
|
globalconfig["lastvisday"] = today
|
||||||
|
self.__showlinks()
|
||||||
|
|
||||||
def __showsupport(self, _):
|
def __showsupport(self, _):
|
||||||
dia = QDialog(self, Qt.WindowType.WindowCloseButtonHint)
|
dia = QDialog(self, Qt.WindowType.WindowCloseButtonHint)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user