Fix broken save/restore of split view settings.

This commit is contained in:
Rene Gollent 2013-04-16 17:56:45 -04:00
parent af84ce79da
commit 2b9c68af5d

View File

@ -20,7 +20,7 @@ GuiSettingsUtils::ArchiveSplitView(BMessage& settings, BSplitView* view)
if (settings.AddFloat("weight", view->ItemWeight(i)) != B_OK)
return B_NO_MEMORY;
if (settings.AddFloat("collapsed", view->IsItemCollapsed(i)) != B_OK)
if (settings.AddBool("collapsed", view->IsItemCollapsed(i)) != B_OK)
return B_NO_MEMORY;
}