void SearchController::Exit() { InstantOpen(false); searchView->CloseActiveWindow(); if(callback) callback->ControllerExit(); //HasExited = true; }
void SearchController::Exit() { InstantOpen(false); if(ui::Engine::Ref().GetWindow() == searchView) { ui::Engine::Ref().CloseWindow(); } if(callback) callback->ControllerExit(); //HasExited = true; }