2
0
mirror of https://github.com/OrbTools/OrbBind synced 2024-10-31 03:20:26 +00:00

fix load -> save

This commit is contained in:
Minizbot2012 2021-02-10 13:00:24 -05:00
parent aee5756a48
commit b4632c44f6
No known key found for this signature in database
GPG Key ID: 977C8ADE12361917
3 changed files with 5 additions and 12 deletions

2
go.mod
View File

@ -4,7 +4,7 @@ go 1.15
require ( require (
fyne.io/fyne v1.4.3 fyne.io/fyne v1.4.3
github.com/OrbTools/OrbCommon v0.0.0-20210209235647-67bb6503d1dd github.com/OrbTools/OrbCommon v0.0.0-20210210175619-78b4b8e8e2d6
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20201108214237-06ea97f0c265 // indirect github.com/go-gl/glfw/v3.3/glfw v0.0.0-20201108214237-06ea97f0c265 // indirect
github.com/kr/text v0.2.0 // indirect github.com/kr/text v0.2.0 // indirect
github.com/srwiley/oksvg v0.0.0-20210209000435-a757b9cbd472 // indirect github.com/srwiley/oksvg v0.0.0-20210209000435-a757b9cbd472 // indirect

12
go.sum
View File

@ -1,16 +1,8 @@
fyne.io/fyne v1.4.3 h1:356CnXCiYrrfaLGsB7qLK3c6ktzyh8WR05v/2RBu51I= fyne.io/fyne v1.4.3 h1:356CnXCiYrrfaLGsB7qLK3c6ktzyh8WR05v/2RBu51I=
fyne.io/fyne v1.4.3/go.mod h1:8kiPBNSDmuplxs9WnKCkaWYqbcXFy0DeAzwa6PBO9Z8= fyne.io/fyne v1.4.3/go.mod h1:8kiPBNSDmuplxs9WnKCkaWYqbcXFy0DeAzwa6PBO9Z8=
github.com/Kodeworks/golang-image-ico v0.0.0-20141118225523-73f0f4cfade9/go.mod h1:7uhhqiBaR4CpN0k9rMjOtjpcfGd6DG2m04zQxKnWQ0I= github.com/Kodeworks/golang-image-ico v0.0.0-20141118225523-73f0f4cfade9/go.mod h1:7uhhqiBaR4CpN0k9rMjOtjpcfGd6DG2m04zQxKnWQ0I=
github.com/OrbTools/OrbCommon v0.0.0-20210209224029-73cec4826e73 h1:9bKK432OLKXWfkG4cVZA+LNp8U+jVmc132tuwCU4bQI= github.com/OrbTools/OrbCommon v0.0.0-20210210175619-78b4b8e8e2d6 h1:Ug+JXsYOxyZNmuQcMdBuGFXonQtDLwuOW/lHoE/TU08=
github.com/OrbTools/OrbCommon v0.0.0-20210209224029-73cec4826e73/go.mod h1:ErdpS2Y/8Ik89IDNsH+yaOWo/XcKzf4riEBfPG3xK+o= github.com/OrbTools/OrbCommon v0.0.0-20210210175619-78b4b8e8e2d6/go.mod h1:ErdpS2Y/8Ik89IDNsH+yaOWo/XcKzf4riEBfPG3xK+o=
github.com/OrbTools/OrbCommon v0.0.0-20210209233138-8623fe5b8a96 h1:YyCVdiz5Yk1dyE7tdV6XATIC3aGHPiPowYrNd5I92cA=
github.com/OrbTools/OrbCommon v0.0.0-20210209233138-8623fe5b8a96/go.mod h1:ErdpS2Y/8Ik89IDNsH+yaOWo/XcKzf4riEBfPG3xK+o=
github.com/OrbTools/OrbCommon v0.0.0-20210209234440-f9da0895ed81 h1:nrS6Fl/cAhYdCk8SAceFGDt1yE/wrErTu+uUo2PQYYU=
github.com/OrbTools/OrbCommon v0.0.0-20210209234440-f9da0895ed81/go.mod h1:ErdpS2Y/8Ik89IDNsH+yaOWo/XcKzf4riEBfPG3xK+o=
github.com/OrbTools/OrbCommon v0.0.0-20210209235147-bc7589e327b4 h1:5OgIJHZvLkZR9v27cas4KrJy19TGQSowXoi09OAiFoE=
github.com/OrbTools/OrbCommon v0.0.0-20210209235147-bc7589e327b4/go.mod h1:ErdpS2Y/8Ik89IDNsH+yaOWo/XcKzf4riEBfPG3xK+o=
github.com/OrbTools/OrbCommon v0.0.0-20210209235647-67bb6503d1dd h1:G9vKM/+GnnbkE3l08LdAahlhhJa4gUk4Qa/dCBJqLCg=
github.com/OrbTools/OrbCommon v0.0.0-20210209235647-67bb6503d1dd/go.mod h1:ErdpS2Y/8Ik89IDNsH+yaOWo/XcKzf4riEBfPG3xK+o=
github.com/akavel/rsrc v0.8.0/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= github.com/akavel/rsrc v0.8.0/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

View File

@ -41,7 +41,8 @@ func main() {
return return
} }
if reader != nil { if reader != nil {
setter(reflect.ValueOf(orbweaver.LoadPKMKeymap(reader))) omap := orbweaver.LoadPKMKeymap(reader)
setter(reflect.ValueOf(omap))
// pages["main"].SetBindings(omap) // pages["main"].SetBindings(omap)
// pages["side"].SetBindings(omap) // pages["side"].SetBindings(omap)
} }