Fix file loading.

This commit is contained in:
Shaun Reed 2025-03-31 22:56:57 -04:00
parent 9b86553513
commit f740ff347b

View File

@ -109,10 +109,7 @@ SplitView {
selectedTextColor: RustColors.editor_highlighted_text
textFormat: Qt.AutoText
wrapMode: TextArea.Wrap
Component.onCompleted: {
textArea.text = FileSystem.readFile(FileSystem.filePath)
}
text: FileSystem.readFile(root.filePath)
onLinkActivated: function (link) {
Qt.openUrlExternally(link);