App: Make Label property on Document read only (#21562)

Fixes: #10010
This commit is contained in:
Gonzalo Odiard
2025-05-29 17:43:34 -03:00
committed by GitHub
parent 8f2ff7d7f6
commit a07d9f032f

View File

@@ -824,7 +824,7 @@ Document::Document(const char* documentName)
GetApplication()
.GetParameterGroupByPath("User parameter:BaseApp/Preferences/Document")
->GetASCII("prefCompany", "");
ADD_PROPERTY_TYPE(Label, ("Unnamed"), 0, Prop_None, "The name of the document");
ADD_PROPERTY_TYPE(Label, ("Unnamed"), 0, Prop_ReadOnly, "The name of the document");
ADD_PROPERTY_TYPE(FileName,
(""),
0,