how can i make it so that if a button has been pressed and a window opened that if i then repress the button i wont get an exception error
like this one
(Error) Exception: GUILayout_xmlHandler::startElement - layout loading has been aborted since Window named 'setup1' already exists.
i,ve tried editing the line in the layout so no name is present but that just opens new windows and isnt what i need
TIA