Fixed not setting TextEdit's FilePath field in Save As function

This commit is contained in:
Luke I. Wilson 2021-04-05 10:30:51 -05:00
parent ccb096a3f6
commit 0918afc483

View File

@ -85,9 +85,11 @@ func saveAs() {
} }
te.Dirty = false te.Dirty = false
te.FilePath = filePaths[0]
tab.Name = filePaths[0]
dialog = nil // Hide the file selector dialog = nil // Hide the file selector
changeFocus(tabContainer) changeFocus(tabContainer)
tab.Name = filePaths[0]
} }
dialog = ui.NewFileSelectorDialog( dialog = ui.NewFileSelectorDialog(