Fixed not setting TextEdit's FilePath field in Save As function
This commit is contained in:
parent
ccb096a3f6
commit
0918afc483
4
main.go
4
main.go
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user