diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-13 21:39:01 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-13 21:39:01 (GMT) |
| commit | 5b52ac3675f08f9f16f44f530df8877ad6c64f2e (patch) | |
| tree | d1b087ac413010f4248ddb4f6cb07a9f3f7ebbe3 /src/search/SearchController.cpp | |
| parent | a11cd592cb9b985298dd16be78dec10226bf3e47 (diff) | |
| download | powder-5b52ac3675f08f9f16f44f530df8877ad6c64f2e.zip powder-5b52ac3675f08f9f16f44f530df8877ad6c64f2e.tar.gz | |
Save history and new multiline formatter
Diffstat (limited to 'src/search/SearchController.cpp')
| -rw-r--r-- | src/search/SearchController.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/search/SearchController.cpp b/src/search/SearchController.cpp index 2c6b78f..7930b65 100644 --- a/src/search/SearchController.cpp +++ b/src/search/SearchController.cpp @@ -181,6 +181,14 @@ void SearchController::OpenSave(int saveID) ui::Engine::Ref().ShowWindow(activePreview->GetView()); } +void SearchController::OpenSave(int saveID, int saveDate) +{ + if(activePreview) + delete activePreview; + activePreview = new PreviewController(saveID, saveDate, new OpenCallback(this)); + ui::Engine::Ref().ShowWindow(activePreview->GetView()); +} + void SearchController::ClearSelection() { searchModel->ClearSelected(); |
