Fix a small bug

pull/4/head
wh201906 5 years ago
parent 241b0cdc29
commit 7ea9c363fd

@ -251,7 +251,7 @@ void MainWindow::on_MF_keyWidget_itemChanged(QTableWidgetItem *item)
} }
else if(item->column() == 2) else if(item->column() == 2)
{ {
QString key = item->text().replace(" ", ""); QString key = item->text().replace(" ", "").toUpper();
if(key == "" || mifare->data_isKeyValid(key)) if(key == "" || mifare->data_isKeyValid(key))
{ {
mifare->data_setKey(item->row(), false, key); mifare->data_setKey(item->row(), false, key);

Loading…
Cancel
Save