Fix delete fix (renamed MiddleDown to MiddleIsDown)
This commit is contained in:
@@ -337,7 +337,7 @@ class FitItem(SFItem.SFBrowserItem):
|
||||
return
|
||||
|
||||
# to prevent accidental deletion, give dialog confirmation unless shift is depressed
|
||||
if wx.GetMouseState().ShiftDown() or wx.GetMouseState().MiddleDown():
|
||||
if wx.GetMouseState().ShiftDown() or wx.GetMouseState().MiddleIsDown():
|
||||
self.deleteFit()
|
||||
else:
|
||||
dlg = wx.MessageDialog(
|
||||
|
||||
Reference in New Issue
Block a user