aboutsummaryrefslogtreecommitdiff
path: root/OpenFileGUICommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'OpenFileGUICommand.cpp')
-rw-r--r--OpenFileGUICommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenFileGUICommand.cpp b/OpenFileGUICommand.cpp
index 1ea2c2f..13751b2 100644
--- a/OpenFileGUICommand.cpp
+++ b/OpenFileGUICommand.cpp
@@ -4,7 +4,7 @@
#include "OpenFileGUICommand.h"
#include "Exception.h"
#include "LoadFilesCommand.h"
-#include "MuseumPauseCommand.h"
+#include "ToggleMuseumPauseCommand.h"
#include "View.h"
using namespace std;
@@ -12,7 +12,7 @@ using namespace std;
void OpenFileGUICommand::execute() {
Museum * museum = &this->get_museum();
- MuseumPauseCommand(*museum).set(true);
+ ToggleMuseumPauseCommand(*museum).set(true);
this->get_view().dialog_file([](vector<string> files, void * data) -> void {
Museum * museum = static_cast<Museum *>(data);
try {