summaryrefslogtreecommitdiffstatshomepage
path: root/dialog.go
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2017-02-27 16:56:14 +0100
committerAlexander Neumann <alexander.neumann@picos-software.com>2017-02-27 16:56:14 +0100
commitb1c5b633cbc03c1d5b307ede0d4f4b8a5a757b4d (patch)
tree918c23a73973f5a47e72b023351879421ee7577f /dialog.go
parentUpdate minimum Go version note in README (diff)
downloadwireguard-windows-b1c5b633cbc03c1d5b307ede0d4f4b8a5a757b4d.tar.xz
wireguard-windows-b1c5b633cbc03c1d5b307ede0d4f4b8a5a757b4d.zip
Move disabling of owner before running message loop from Dialog to FormBase
Diffstat (limited to 'dialog.go')
-rw-r--r--dialog.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/dialog.go b/dialog.go
index 6b9216e1..6cdbf70f 100644
--- a/dialog.go
+++ b/dialog.go
@@ -273,10 +273,6 @@ func fitRectToScreen(hWnd win.HWND, r Rectangle) Rectangle {
func (dlg *Dialog) Run() int {
dlg.Show()
- if dlg.owner != nil {
- dlg.owner.SetEnabled(false)
- }
-
dlg.FormBase.Run()
return dlg.result