* forgot to update the blocked window's redrawing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23562 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -202,7 +202,13 @@ InitParamsPanel::Go(BString& name, BString& parameters)
|
|||||||
Unlock();
|
Unlock();
|
||||||
|
|
||||||
// block this thread now
|
// block this thread now
|
||||||
acquire_sem(fExitSemaphore);
|
while (true) {
|
||||||
|
status_t err = acquire_sem_etc(fExitSemaphore, 1,
|
||||||
|
B_CAN_INTERRUPT | B_RELATIVE_TIMEOUT, 50000);
|
||||||
|
if (err != B_TIMED_OUT && err != B_INTERRUPTED)
|
||||||
|
break;
|
||||||
|
fWindow->UpdateIfNeeded();
|
||||||
|
}
|
||||||
|
|
||||||
if (!Lock())
|
if (!Lock())
|
||||||
return GO_CANCELED;
|
return GO_CANCELED;
|
||||||
|
|||||||
Reference in New Issue
Block a user