We update to the contents for new files (bug from Fredrik Ekdahl)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11174 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-01-31 22:08:59 +00:00
parent b18fc6654c
commit 5797cdc36f

View File

@ -416,10 +416,15 @@ ExpanderWindow::RefsReceived(BMessage *msg)
fExpandButton->SetEnabled(true);
fExpandItem->SetEnabled(true);
}
fShowContents->SetEnabled(true);
fShowItem->SetEnabled(true);
if (fShowContents->Value() == B_CONTROL_ON) {
StopListing();
StartListing();
} else {
fShowContents->SetEnabled(true);
fShowItem->SetEnabled(true);
}
bool fromApp;
if (msg->FindBool("fromApp", &fromApp)==B_OK) {
AutoExpand();