Applying patch from Łukasz Zemczak to fix bug #1570.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22754 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood 2007-10-28 22:37:53 +00:00
parent 0835c0e0dc
commit b052daff3b

View File

@ -118,6 +118,7 @@ PackageInstaller::MessageReceived(BMessage *msg)
switch (msg->what) {
case P_WINDOW_QUIT:
fWindowCount--;
case B_CANCEL:
if (fWindowCount == 0) {
BAutolock lock(this);
if (lock.IsLocked())