Closing an FXInternalWindow issue
Posted: Fri Apr 13, 2018 12:06 pm
Hi again,
Noticed something a little odd, would like some clarification.
When using an FXDesktopPane, and I add say 3 FXInternalWindow's, then using the "X" close button one of the windows, next call the FXDesktopWindowManager's getWindows(), I would expect it to only return 2 windows, however it returns 3.
Also, if you add 5 windows, then click on the "X" to close them, and add another 5 windows, the "getWindows()" call returns 10 windows.
When you click the "X" close button, I would have throught that it would remove the Nodes from the Pane, and remove the window from the "SimpleListProperty<FXInternalWindow> windows array".
ie. looks like they get removed from the Pane, but no removed from the array.
Cheers.
Noticed something a little odd, would like some clarification.
When using an FXDesktopPane, and I add say 3 FXInternalWindow's, then using the "X" close button one of the windows, next call the FXDesktopWindowManager's getWindows(), I would expect it to only return 2 windows, however it returns 3.
Also, if you add 5 windows, then click on the "X" to close them, and add another 5 windows, the "getWindows()" call returns 10 windows.
When you click the "X" close button, I would have throught that it would remove the Nodes from the Pane, and remove the window from the "SimpleListProperty<FXInternalWindow> windows array".
ie. looks like they get removed from the Pane, but no removed from the array.
Cheers.