mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refs #735, remove invalid objects from stash
* button "remove invalid objects" * tab order fixed
This commit is contained in:
committed by
Mathew Sutcliffe
parent
9c2a2de4c5
commit
61ac328d10
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user