diff options
Diffstat (limited to 'src/ui.py')
-rw-r--r-- | src/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ class KPDoodadSelector(QtGui.QWidget): self.doodadList.keyPressEvent(event) - if event.key() == 0x1000003: + if event.key() == QtCore.Qt.Key_Delete or event.key() == QtCore.Qt.Key_Backspace: msgBox = QtGui.QMessageBox(QtGui.QMessageBox.Warning, "Delete Doodad?", "Are you sure you want to delete this doodad? This action cannot be undone.", |