HaikuDepot: Disable editing for read-only text views.
This commit is contained in:
@@ -111,6 +111,7 @@ public:
|
||||
:
|
||||
TextDocumentView(name)
|
||||
{
|
||||
SetEditingEnabled(false);
|
||||
CharacterStyle regularStyle;
|
||||
|
||||
float fontSize = regularStyle.Font().Size();
|
||||
|
||||
Reference in New Issue
Block a user