Fix bug that was introduced with merge.

This commit is contained in:
Lukas Steiner
2020-08-06 14:11:58 +02:00
parent 3dfb3ef562
commit 7e2d0b1c3c

View File

@@ -173,6 +173,7 @@ void RefreshManagerBankwise::updateState(Command command)
switch (command)
{
case Command::REFB:
skipSelection = false;
remainingBankMachines.erase(currentIterator);
if (remainingBankMachines.empty())
remainingBankMachines = allBankMachines;