From 8b61d93fc869ea39a78cdc134002ef11bf3e69d3 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 Mar 2015 17:20:03 -0400 Subject: Opening a file in the map editor closes the current window if the current window is a blank slate --- tools/mapedit/src/frame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/mapedit/src/frame.h') diff --git a/tools/mapedit/src/frame.h b/tools/mapedit/src/frame.h index 4844485..6085eb2 100644 --- a/tools/mapedit/src/frame.h +++ b/tools/mapedit/src/frame.h @@ -33,7 +33,7 @@ class MapeditFrame : public wxFrame { void MapDirtyDidChange(bool dirty); static void NewWorld(); - static void OpenWorld(std::string filename); + static bool OpenWorld(std::string filename); std::list::iterator closer; -- cgit 1.4.1