aboutsummaryrefslogtreecommitdiff
path: root/OpenFileGUICommand.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
commit76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch)
tree92a2dc9b12a542456bdc154f44deb34925883210 /OpenFileGUICommand.cpp
parent3f63576819151ff15237a9b4f0651c538cfef067 (diff)
(1/2) rename
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 {