mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 10:22:41 +01:00
create events under UI
This commit is contained in:
6
sysgo/UI/events.go
Normal file
6
sysgo/UI/events.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package UI
|
||||
|
||||
|
||||
const (
|
||||
RUNEVT=1
|
||||
)
|
||||
@@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user