summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.go b/plugin.go
index 67def55..5356a64 100644
--- a/plugin.go
+++ b/plugin.go
@@ -200,7 +200,7 @@ func showDisable() {
me.textbox.tk.v.Editable = true
me.textbox.tk.v.Wrap = true
- me.baseGui.SetView(me.textbox.tk.cuiName, r.w0, r.h0, r.w1, r.h1, 0)
+ me.textbox.tk.SetViewRect(r)
me.baseGui.SetCurrentView(me.textbox.tk.v.Name())
// bind the enter key to a function so we can close the textbox