1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

AlertWindow: Store a SafePointer to the associatedComponent

This commit is contained in:
reuk 2025-05-29 17:25:36 +01:00
parent 6fb4d820a2
commit fc32ca8641
No known key found for this signature in database

View file

@ -587,7 +587,7 @@ private:
OwnedArray<Component> textBlocks;
Array<Component*> allComps;
StringArray textboxNames, comboBoxNames;
Component* const associatedComponent;
SafePointer<Component> associatedComponent;
bool escapeKeyCancels = true;
float desktopScale = 1.0f;