# HG changeset patch # User Edouard Tisserant # Date 1637091071 -3600 # Node ID 6532d7a1a3b566f4269efb547822ebacb4cd3c0b # Parent ecefd38d5c7d3be6428fcbf7718d433546836d1e IDE: Tutorial/Example menu was broken : path of project being open was the same for all menu entries. diff -r ecefd38d5c7d -r 6532d7a1a3b5 BeremizIDE.py --- a/BeremizIDE.py Mon Nov 08 14:10:36 2021 +0100 +++ b/BeremizIDE.py Tue Nov 16 20:31:11 2021 +0100 @@ -264,7 +264,7 @@ projectpath = os.path.join(exemples_dir, dirname) - def OpenExemple(event): + def OpenExemple(event, projectpath=projectpath): if self.CTR is not None and not self.CheckSaveBeforeClosing(): return