Skip to content

Commit 9cd3f59

Browse files
committed
#656 Improve windows folder open stabilty
1 parent 3a15ffc commit 9cd3f59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

preferences/preferences.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def draw_vhacd_panel(self, layout, context):
409409
text="How to Fix",
410410
icon='URL'
411411
).url = "https://weisl.github.io/collider_auto_convex/#fix-linux-permission"
412-
row.operator("wm.path_open", text='Open Folder', icon='FILE_FOLDER').filepath = os.path.dirname(self.default_executable_path)
412+
row.operator("simple_collider.open_folder", text='Open Folder', icon='FILE_FOLDER').directory = os.path.dirname(self.default_executable_path)
413413

414414
row = box.row()
415415
row.label(text="Custom Executable (Optional):")
@@ -448,7 +448,7 @@ def draw_vhacd_panel(self, layout, context):
448448
text="How to Fix",
449449
icon='URL'
450450
).url = "https://weisl.github.io/collider_auto_convex/#fix-linux-permission"
451-
row.operator("wm.path_open", text='Open Folder', icon='FILE_FOLDER').filepath = os.path.dirname(self.coacd_default_executable_path)
451+
row.operator("simple_collider.open_folder", text='Open Folder', icon='FILE_FOLDER').directory = os.path.dirname(self.coacd_default_executable_path)
452452

453453
row = box.row()
454454
row.label(text="Custom Executable (Optional):")

0 commit comments

Comments
 (0)