Fix file loading.
This commit is contained in:
parent
9b86553513
commit
f740ff347b
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user