From 76e61d68bbf568ec0d7fc4632e52d4de5496b003 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 18 Oct 2024 15:43:25 +0200 Subject: (1/2) rename --- OpenFileGUICommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenFileGUICommand.cpp') 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 files, void * data) -> void { Museum * museum = static_cast(data); try { -- cgit v1.2.3