The ProgressWindow also need to adopt the workspaces from the reference window.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23238 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-01-04 11:40:56 +00:00
parent 6d88bae7de
commit aa740bac9e

View File

@ -79,8 +79,12 @@ void
ProgressWindow::Start(BWindow* referenceWindow)
{
BAutolock _(this);
_Center(referenceWindow);
if (referenceWindow != NULL)
SetWorkspaces(referenceWindow->Workspaces());
fRetrievedUpdate = false;
fRetrievedShow = false;
delete fRunner;