summaryrefslogtreecommitdiff
path: root/vcl/source/window/window.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-06 09:01:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:14 +0100
commit0d0617bf26e4d3ce235f9573170274d15362da21 (patch)
tree6ee6bd9a2afda364896b5c0e5f46868aa3ce297f /vcl/source/window/window.cxx
parentb32de7328e35687440a7f8833c19cdb3752babc7 (diff)
don't bother with children resize request while dialog is closing
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r--vcl/source/window/window.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index c818768ce341..fbc1ead897f8 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -9612,13 +9612,15 @@ Selection Window::GetSurroundingTextSelection() const
return Selection( 0, 0 );
}
-//Poor man's equivalent, when widget want's to renegotiate
+//Poor man's equivalent, when widget wants to renegotiate
//size, get parent dialog and call resize on it
void Window::queueResize()
{
Dialog *pParent = GetParentDialog();
if (!pParent)
return;
+ if (pParent->IsInClose())
+ return;
if (!pParent->isLayoutEnabled())
return;
if (!pParent->IsReallyShown())