beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: Fixes UI lifecycle problems
2023-11-25, Edouard Tisserant
89549813a6c1
SVGHMI: Fixes UI lifecycle problems
Was sometime showing HMI tree of previously closed project : no more module globals to store hmi tree.
C++ dead object exceptions happened when re-opening SVGHMI UI or building after close of UI.
from etherlab.etherlab import *
from util.BitmapLibrary import AddBitmapFolder
import util.paths as paths
AddBitmapFolder(os.path.join(paths.AbsDir(__file__), "images"))