[KiKit Present][Fixed] Problems using pcb from output and no prj

This commit is contained in:
Salvador E. Tropea 2024-01-23 13:12:23 -03:00
parent 0665cea3ff
commit 1763f809c7
1 changed files with 2 additions and 0 deletions

View File

@ -584,6 +584,8 @@ class GS(object):
@staticmethod
def reload_project(pro_name):
if pro_name is None:
return
sm = pcbnew.GetSettingsManager()
sm.UnloadProject(GS.board.GetProject(), False)
assert sm.LoadProject(pro_name)