fix opening recent project showing file browser

This commit is contained in:
Andrej730
2024-08-08 15:43:14 +05:00
parent 3c0103b4da
commit 1626dd85f4
@@ -751,6 +751,8 @@ class LoadProject(bpy.types.Operator, IFCFileSelector):
return {"FINISHED"}
def invoke(self, context, event):
if self.filepath:
return self.execute(context)
context.window_manager.fileselect_add(self)
return {"RUNNING_MODAL"}