Fix: account number
This commit is contained in:
parent
da7058a9bd
commit
3c235d2ec1
@ -219,7 +219,7 @@ void ATBDeviceControllerPlugin::private_startAccount()
|
||||
qCritical() << "Start account: ";
|
||||
qCritical() << " nrOfVals = " << nrOfVals;
|
||||
for (int i=0; i<nrOfVals; ++i) {
|
||||
qCritical() << " backupedAccNumbers[" << i << "] = " << backupedAccNumbers[0];
|
||||
qCritical() << " backupedAccNumbers[" << i << "] = " << backupedAccNumbers[i];
|
||||
}
|
||||
|
||||
qsort( backupedAccNumbers, nrOfVals, sizeof (uint16_t), Utils::compare );
|
||||
@ -230,7 +230,7 @@ void ATBDeviceControllerPlugin::private_startAccount()
|
||||
// DEBUG
|
||||
qCritical() << " latestAccountNumber = " << latestAccountNumber;
|
||||
|
||||
hw->log_selectVaultRecord(latestAccountNumber);
|
||||
hw->log_selectVaultRecord(latestAccountNumber - 1);
|
||||
|
||||
this->accountCheckCounter = 0;
|
||||
QTimer::singleShot(500, this, SLOT(private_checkAccountData()));
|
||||
|
Loading…
Reference in New Issue
Block a user