Fix broken save/restore of split view settings.
This commit is contained in:
parent
af84ce79da
commit
2b9c68af5d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user