Skip to content

Commit

Permalink
fix selecting another element turning off find tool
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed May 18, 2018
1 parent 6ef0f06 commit 3b42878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/game/GameView.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 3b42878

Please sign in to comment.