From 55b5c7189af3f11b03d74fd5327c9295d58aee57 Mon Sep 17 00:00:00 2001 From: John Beard Date: Wed, 30 Jan 2019 16:48:09 +0000 Subject: [PATCH] Exit dialog: use Layout on the whole window Prevents mislaignment in footpritn editor on close with unsaved changes. Fixes: lp:1813961 * https://bugs.launchpad.net/kicad/+bug/1813961 --- common/confirm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/confirm.cpp b/common/confirm.cpp index 85fe46960a..3e5080dd4d 100644 --- a/common/confirm.cpp +++ b/common/confirm.cpp @@ -167,8 +167,7 @@ public: m_sdbSizer1Cancel->SetLabel( aCancelLabel ); m_sdbSizer1OK->SetDefault(); - m_sdbSizer1->Layout(); - m_buttonSizer->Layout(); + Layout(); FinishDialogSettings(); };