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()
|
void GameController::OpenSearch()
|
||||||
{
|
{
|
||||||
|
if(!search)
|
||||||
search = new SearchController(new SearchCallback(this));
|
search = new SearchController(new SearchCallback(this));
|
||||||
ui::Engine::Ref().ShowWindow(search->GetView());
|
ui::Engine::Ref().ShowWindow(search->GetView());
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ void SearchController::Exit()
|
|||||||
}
|
}
|
||||||
if(callback)
|
if(callback)
|
||||||
callback->ControllerExit();
|
callback->ControllerExit();
|
||||||
HasExited = true;
|
//HasExited = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchController::~SearchController()
|
SearchController::~SearchController()
|
||||||
|
Loading…
Reference in New Issue
Block a user