Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Apr 27, 2024
1 parent c7d0397 commit 3b01a28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LunaTranslator/LunaTranslator/gui/dialog_savedgame.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def __init__(self, w, h, pixmap) -> None:

def opendir(k):
try:
os.startfile(os.path.dirname(k))
os.system(f"explorer {os.path.dirname(k)}")
except:
pass

Expand Down Expand Up @@ -337,6 +337,7 @@ def showmenu(self, p):
savehook_new_data[self.exepath]["relationlinks"].pop(
tab_index - self.hasvndb
)

def lastclicked(self):
def callback(texts):
if len(texts[0].strip()) and len(texts[1].strip()):
Expand Down Expand Up @@ -400,7 +401,7 @@ def selectexe(self):
savehook_new_data[res] = savehook_new_data[self.exepath]
savehook_new_data.pop(self.exepath)
_icon = getExeIcon(res, cache=True)

self.setWindowIcon(_icon)
self.editpath.setText(res)
self.exepath = res
Expand Down

0 comments on commit 3b01a28

Please sign in to comment.