Bugfixes and bump point release (#1159)

* Add some logging to try to figure out what happens with #1149, along with some other fixes

* Bump point release
This commit is contained in:
Ryan Holmes
2017-05-11 20:53:37 -04:00
committed by GitHub
parent b39ec4f9b3
commit 9f5e14fe2d
5 changed files with 9 additions and 5 deletions

View File

@@ -110,6 +110,7 @@ class FittingViewDrop(wx.PyDropTarget):
def OnData(self, x, y, t):
if self.GetData():
pyfalog.debug("fittingView: recieved drag: " + self.dropData.GetText())
data = self.dropData.GetText().split(':')
self.dropFn(x, y, data)
return t

View File

@@ -279,8 +279,10 @@ class ItemView(Display):
if row != -1:
data = wx.PyTextDataObject()
data.SetText("market:" + str(self.active[row].ID))
dataStr = "market:" + str(self.active[row].ID)
pyfalog.debug("Dragging from market: " + dataStr)
data.SetText(dataStr)
dropSource = wx.DropSource(self)
dropSource.SetData(data)
dropSource.DoDragDrop()