Set appropriate parent for 3D library downloader progress dialog

Fixes: lp:1758095
* https://bugs.launchpad.net/kicad/+bug/1758095
This commit is contained in:
Jon Evans 2018-03-24 21:08:12 -04:00
parent 4b5ca0ec14
commit 6b51cc33da
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ bool WIZARD_3DSHAPE_LIBS_DOWNLOADER::downloadGithubLibsFromList( wxArrayString&
// The title is updated for each downloaded library.
// the state will be updated by downloadOneLib() for each file.
wxProgressDialog pdlg( _( "Downloading 3D libraries" ), wxEmptyString,
aUrlList.GetCount(), GetParent(),
aUrlList.GetCount(), this,
wxPD_CAN_ABORT | wxPD_APP_MODAL | wxPD_AUTO_HIDE );
// Built the full server name string: