summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.py b/src/ui.py
index 825a713..b785a69 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -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.",