Fix a small bug

This commit is contained in:
wh201906 2020-06-26 22:39:46 +08:00
parent 241b0cdc29
commit 7ea9c363fd

View File

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