create events under UI

This commit is contained in:
cuu
2018-08-10 12:30:16 +08:00
parent c4bfb007eb
commit 0a1944ef80
4 changed files with 12 additions and 4 deletions

View File

@@ -393,7 +393,7 @@ func (self *MainScreen) RunEXE( cmdpath string) {
cmdpath = strings.Trim(cmdpath," ")
cmdpath = CmdClean(cmdpath)
event.Post(event.RUNEVT,cmdpath)
event.Post(RUNEVT,cmdpath)
}