MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / OnMouseCaptureLost

Method OnMouseCaptureLost

gui/builtinShipBrowser/fitItem.py:191–199  ·  view source on GitHub ↗

Destroy drag information (GH issue #479)

(self, event)

Source from the content-addressed store, hash-verified

189 self.mainFrame.additionsPane.select("Command")
190
191 def OnMouseCaptureLost(self, event):
192 """ Destroy drag information (GH issue #479)"""
193 if self.dragging and self.dragged:
194 self.dragging = False
195 self.dragged = False
196 if self.HasCapture():
197 self.ReleaseMouse()
198 self.dragWindow.Show(False)
199 self.dragWindow = None
200
201 def OnContextMenu(self, event):
202 """ Handles context menu for fit. Dragging is handled by MouseLeftUp() """

Callers 1

MouseLeftUpMethod · 0.95

Calls 1

ShowMethod · 0.45

Tested by

no test coverage detected