summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin.go b/plugin.go
index 5356a64..6a61e27 100644
--- a/plugin.go
+++ b/plugin.go
@@ -162,10 +162,10 @@ func (tk *guiWidget) GetText() string {
return ""
}
+// hack. use "textbox widget" to "disable" user events
func hideDisable() {
if me.textbox.tk == nil {
initTextbox()
- me.textbox.tk.prepTextbox()
}
me.textbox.tk.Hide()
@@ -177,6 +177,7 @@ func hideDisable() {
// me.baseGui.DeleteView(me.textbox.tk.v.Name())
}
+// hack. use "textbox widget" to "disable" user events
func showDisable() {
if me.textbox.tk == nil {
initTextbox()