diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-16 17:20:03 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-16 17:20:03 -0400 |
commit | 8b61d93fc869ea39a78cdc134002ef11bf3e69d3 (patch) | |
tree | c2aca3668c058cbdc7dfd9537802750f9c4f6600 /tools/mapedit/src/frame.h | |
parent | 82fb304e61191f27403b5dbfaa90f24d625dee87 (diff) | |
download | therapy-8b61d93fc869ea39a78cdc134002ef11bf3e69d3.tar.gz therapy-8b61d93fc869ea39a78cdc134002ef11bf3e69d3.tar.bz2 therapy-8b61d93fc869ea39a78cdc134002ef11bf3e69d3.zip |
Opening a file in the map editor closes the current window if the current window is a blank slate
Diffstat (limited to 'tools/mapedit/src/frame.h')
-rw-r--r-- | tools/mapedit/src/frame.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
33 | void MapDirtyDidChange(bool dirty); | 33 | void MapDirtyDidChange(bool dirty); |
34 | 34 | ||
35 | static void NewWorld(); | 35 | static void NewWorld(); |
36 | static void OpenWorld(std::string filename); | 36 | static bool OpenWorld(std::string filename); |
37 | 37 | ||
38 | std::list<wxWindow*>::iterator closer; | 38 | std::list<wxWindow*>::iterator closer; |
39 | 39 | ||