jlbcontrols / Flintium

Open-source library of Ignition® faceplates and graphics that pair with AOIs from the Rockwell Automation® Library of Process Objects.
MIT License
31 stars 12 forks source link

Advanced Faceplate opens to nonexistent panel #173

Closed jlbcontrols closed 4 years ago

jlbcontrols commented 4 years ago

When an Advanced faceplate popup is opened, it may try to display the same tab/page of a previously cached Advanced faceplate popup instance.

For example, if I close a P_PIDE Advanced popup that was open to Engineering/5, and then open a P_AIn Advanced popup, it may try to display Engineering/5, which doesn't exist.

image

jlbcontrols commented 4 years ago

Resolve this by displaying the first (left-most tab) that exists for the particular UDT, and select the first page. Update Main faceplate to have the same behavior.

Impacted Windows: Flintium/Faceplates/Advanced Flintium/Faceplates/Main