Read-only state was not properly initialized.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7055 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-03-22 23:07:20 +00:00
parent 4f567623c0
commit 0143eff357
+2 -1
View File
@@ -434,7 +434,8 @@ DataEditor::SetTo(BEntry &entry, const char *attribute)
return status;
fIsReadOnly = true;
}
} else
fIsReadOnly = false;
entry.GetRef(&fRef);