Permalink
Browse files

fix selecting another element turning off find tool

  • Loading branch information...
jacob1 committed May 18, 2018
1 parent 6ef0f06 commit 3b428789c75e5266c11ae8c0a641f6dcd5840d68
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/game/GameView.cpp
@@ -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;

0 comments on commit 3b42878

Please sign in to comment.