diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 2c8f9bb..014cece 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -362,7 +362,6 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened() // this is started here because we want to keep ptu awake in order to get // coin box removed / inserted etc. // BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS! - this->dbus->startBackgroundTask("ACCOUNT"); // do not: emit this->requestModeSERVICE(); } @@ -371,6 +370,9 @@ void ATBDeviceControllerPlugin::onCoinBoxRemoved() { qCritical() << "ATBDeviceControllerPlugin::onCoinBoxRemoved()"; + // BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS! + this->dbus->startBackgroundTask("ACCOUNT"); + QTimer::singleShot(4000, this, SLOT(private_startAccount())); }