Browse Source

Fix main window broken after modal is closed

gh-pages
falkTX 10 years ago
parent
commit
21499c21ed
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      dgl/src/Window.cpp

+ 8
- 3
dgl/src/Window.cpp View File

@@ -319,11 +319,16 @@ public:
XFlush(xDisplay);
#endif

if (yesNo && fFirstInit)
if (yesNo)
{
fApp._oneShown();
fFirstInit = false;
if (fFirstInit)
{
fApp._oneShown();
fFirstInit = false;
}
}
else if (fModal.enabled)
exec_fini();
}

// -------------------------------------------------------------------


Loading…
Cancel
Save