diff --git a/gooey/gui/components/widgets/core/chooser.py b/gooey/gui/components/widgets/core/chooser.py index a9add25..1135dce 100644 --- a/gooey/gui/components/widgets/core/chooser.py +++ b/gooey/gui/components/widgets/core/chooser.py @@ -38,7 +38,6 @@ class Chooser(wx.Panel): self.button = wx.Button(self, label=buttonLabel) self.button.Bind(wx.EVT_BUTTON, self.spawnDialog) self.dropTarget = FileDrop(self.widget, self.dropHandler) - self.SetDropTarget(self.dropTarget) self.widget.SetDropTarget(self.dropTarget) self.layout()