Search window is persistent, issue #66
This commit is contained in:
parent
baf07e470e
commit
ab8466e990
@ -587,6 +587,7 @@ void GameController::SetActiveTool(int toolSelection, Tool * tool)
|
||||
|
||||
void GameController::OpenSearch()
|
||||
{
|
||||
if(!search)
|
||||
search = new SearchController(new SearchCallback(this));
|
||||
ui::Engine::Ref().ShowWindow(search->GetView());
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ void SearchController::Exit()
|
||||
}
|
||||
if(callback)
|
||||
callback->ControllerExit();
|
||||
HasExited = true;
|
||||
//HasExited = true;
|
||||
}
|
||||
|
||||
SearchController::~SearchController()
|
||||
|
Loading…
Reference in New Issue
Block a user