The window doesn't get resized correctly if we go back from package chooser page in install from local directory mode
Noticed by reading the code and confirmed by testing. 2010-11-07 Jon TURNEY <jon.tur...@dronecode.org.uk> * choose.cc (OnBack): Move PlaceDialog(false) so window is resized in 'Install from Local Directory' mode as well. --- choose.cc | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/choose.cc b/choose.cc index c7ff229..53b1bd2 100644 --- a/choose.cc +++ b/choose.cc @@ -313,13 +313,12 @@ ChooserPage::OnNext () long ChooserPage::OnBack () { + PlaceDialog (false); + if (source == IDC_SOURCE_CWD) return IDD_LOCAL_DIR; else - { - PlaceDialog (false); - return IDD_SITE; - } + return IDD_SITE; } void -- 1.7.2.3