Skip to content

Commit e8b102d

Browse files
authored
Fixed "open in file explorer"
Fixed "open in file explorer"
1 parent a58867e commit e8b102d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

FF_Files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from PySide6.QtCore import QDate, Qt
2020

2121
# Versions
22-
VERSION: str = "8-june-2025"
22+
VERSION: str = "15-june-2025"
2323
VERSION_SHORT: str = "2.0"
2424
# Versions of file formats
2525
FF_FILTER_VERSION = 2

FF_Main_UI.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,8 @@ def menu_bar_icon(self, about_action, reopen_action):
12301230
# Search Status Menu
12311231
global search_status_menu
12321232
search_status_menu = QMenu("&Searches:", self.Root_Window)
1233-
search_status_menu.setDisabled(True)
1233+
if platform == "darwin" or platform == "linux":
1234+
search_status_menu.setDisabled(True)
12341235

12351236
# Quit File Find
12361237
quit_action = QAction("&Quit File Find", self.Root_Window)

FF_Menubar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def open_in_finder(self):
652652
# Collecting the return code
653653
return_code = run(["open", "-R", selected_file]).returncode
654654
elif platform == "win32" or platform == "cygwin":
655-
return_code = run(["explorer", "/select", selected_file], shell=True).returncode
655+
return_code = run(["explorer", f"/select{selected_file}"]).returncode
656656
elif platform == "linux":
657657
return_code = run(["xdg-open", os.path.dirname(selected_file)]).returncode
658658

0 commit comments

Comments
 (0)