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