Fix exit dialog layout issue on windows.
Apparently FinishDialogSettings() does need to be called on windows to get the dialog to layout properly. Hopefully this doesn't break any of the other platforms.
This commit is contained in:
parent
c8cb9b3e1c
commit
f839278597
|
@ -2,7 +2,7 @@
|
|||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2007 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||
* Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
* Copyright (C) 1992-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -167,9 +167,7 @@ public:
|
|||
m_sdbSizerCancel->SetLabel( aCancelLabel );
|
||||
m_sdbSizerOK->SetDefault();
|
||||
|
||||
Layout();
|
||||
|
||||
//FinishDialogSettings();
|
||||
FinishDialogSettings();
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue