Don't process removeModule is ctrl / cmd key is active (#1190)

This commit is contained in:
Ryan Holmes
2017-05-22 01:50:13 -04:00
committed by GitHub
parent d1fc2dd6ec
commit cff3d0ee95

View File

@@ -347,6 +347,8 @@ class FittingView(d.Display):
event.Skip()
def removeItem(self, event):
if event.CmdDown():
return
row, _ = self.HitTest(event.Position)
if row != -1 and row not in self.blanks and isinstance(self.mods[row], Module):
col = self.getColumn(event.Position)