This commit is contained in:
恍兮惚兮 2024-04-28 01:48:41 +08:00
parent c7d0397589
commit 3b01a281ab

View File

@ -227,7 +227,7 @@ class IMGWidget(QLabel):
def opendir(k): def opendir(k):
try: try:
os.startfile(os.path.dirname(k)) os.system(f"explorer {os.path.dirname(k)}")
except: except:
pass pass
@ -337,6 +337,7 @@ class browserdialog(QDialog):
savehook_new_data[self.exepath]["relationlinks"].pop( savehook_new_data[self.exepath]["relationlinks"].pop(
tab_index - self.hasvndb tab_index - self.hasvndb
) )
def lastclicked(self): def lastclicked(self):
def callback(texts): def callback(texts):
if len(texts[0].strip()) and len(texts[1].strip()): if len(texts[0].strip()) and len(texts[1].strip()):