fix selecting another element turning off find tool

This commit is contained in:
jacob1 2018-05-17 20:59:37 -04:00
parent 6ef0f065a6
commit 3b428789c7

View File

@ -705,7 +705,7 @@ void GameView::NotifyActiveToolsChanged(GameModel * sender)
if (sender->GetRenderer()->findingElement)
{
Tool *active = sender->GetActiveTool(0);
if (active->GetIdentifier().Contains("_PT_"))
if (!active->GetIdentifier().Contains("_PT_"))
ren->findingElement = 0;
else
ren->findingElement = sender->GetActiveTool(0)->GetToolID()%256;