mirror of
https://github.com/wh201906/Proxmark3GUI.git
synced 2026-07-03 08:44:34 +08:00
V0.1
This commit is contained in:
+2
-2
@@ -219,7 +219,7 @@ void MainWindow::on_MF_dataWidget_itemChanged(QTableWidgetItem *item)
|
||||
|
||||
if(item->column() == 2)
|
||||
{
|
||||
QString data = item->text().replace(" ", "");
|
||||
QString data = item->text().replace(" ", "").toUpper();
|
||||
if(data == "" || mifare->data_isDataValid(data) == Mifare::DATA_NOSPACE)
|
||||
{
|
||||
mifare->data_setData(item->row(), data);
|
||||
@@ -236,7 +236,7 @@ void MainWindow::on_MF_keyWidget_itemChanged(QTableWidgetItem *item)
|
||||
{
|
||||
if(item->column() == 1)
|
||||
{
|
||||
QString key = item->text().replace(" ", "");
|
||||
QString key = item->text().replace(" ", "").toUpper();
|
||||
if(key == "" || mifare->data_isKeyValid(key))
|
||||
{
|
||||
mifare->data_setKey(item->row(), true, key);
|
||||
|
||||
Reference in New Issue
Block a user