refs #735, remove invalid objects from stash

* button "remove invalid objects"
* tab order fixed
This commit is contained in:
Klaus Basan
2016-08-16 23:48:08 +02:00
committed by Mathew Sutcliffe
parent 9c2a2de4c5
commit 61ac328d10
4 changed files with 35 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ namespace BlackGui
{
if (modelStrings.isEmpty()) { return 0; }
CAircraftModelList copy(this->container());
int delta = copy.removeModelsWithString(modelStrings, sensitivity);
const int delta = copy.removeModelsWithString(modelStrings, sensitivity);
if (delta > 0)
{
this->updateContainerMaybeAsync(copy);