OK, and if it’s a non-modal window, what’s the state of the stack at the point when deleteEditor() is called?
[ I wouldn’t be bugging you if I had some other choice. The thing is I just rewrote the whole PluginListComponent to be non-modal, but at the some point, where the user can specify a VST directory, there is again a native FileChooser involved which is modal, and so it’s f***ed ].
I don’t if you know ( 8) ), but if you want your windows such as native Windows File Browsers to be modal with respect to the host, you have to pass them the host’s HWND as owner HWND. If you do pass the host’s HWND, the user will not be able to click into the host as long as he didn’t select a file/directory.