Browse Source

Fix crash when closing temporary windows inside modals

tags/2018-04-16
falkTX 8 years ago
parent
commit
95cbea0763
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libs/juce/source/modules/juce_gui_basics/native/juce_linux_Windowing.cpp

+ 3
- 0
libs/juce/source/modules/juce_gui_basics/native/juce_linux_Windowing.cpp View File

@@ -1881,6 +1881,9 @@ public:
{
if (LinuxComponentPeer* const otherPeer = dynamic_cast<LinuxComponentPeer*> (other))
{
if (otherPeer->styleFlags & windowIsTemporary)
return;
setMinimised (false);
Window newStack[] = { otherPeer->windowH, windowH };


Loading…
Cancel
Save