save and restore the current bin during reset since we
should continue in whatever bin we were in. --HG-- extra : convert_revision : 30a891ccb03afa0c1dd0c98942ab3ea5ba800660
This commit is contained in:
parent
7ec4f7d211
commit
40820042f1
1 changed files with 4 additions and 0 deletions
|
@ -272,6 +272,8 @@ Database::reset()
|
|||
++i;
|
||||
}
|
||||
|
||||
MainBin *orig = MainBin::current();
|
||||
|
||||
list<GenBin *>::iterator bi = bins.begin();
|
||||
list<GenBin *>::iterator be = bins.end();
|
||||
while (bi != be) {
|
||||
|
@ -286,6 +288,8 @@ Database::reset()
|
|||
}
|
||||
++bi;
|
||||
}
|
||||
|
||||
orig->activate();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue