Browse Source

remove additional drop target which was causing exit events to mysteriously hang

1.0.5-release-candidate
Chris 3 years ago
parent
commit
d65f4d44d8
1 changed files with 0 additions and 1 deletions
  1. 1
      gooey/gui/components/widgets/core/chooser.py

1
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()

Loading…
Cancel
Save