diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index e98ab204..1dd4bff7 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -3258,7 +3258,7 @@ class MyForm(settingsmixin.SMainWindow): if not tableWidget: return folder = self.getCurrentFolder() - shifted = (QtGui.QApplication.queryKeyboardModifiers() & QtCore.Qt.ShiftModifier) > 0 + shifted = QtGui.QApplication.queryKeyboardModifiers() & QtCore.Qt.ShiftModifier while tableWidget.selectedIndexes() != []: currentRow = tableWidget.selectedIndexes()[0].row() ackdataToTrash = str(tableWidget.item(