fixed a crash when creating a new levelsubset in the editor
authorTobias Gläßer <tobi.web@gmx.de>
Wed, 5 May 2004 12:27:51 +0000 (12:27 +0000)
committerTobias Gläßer <tobi.web@gmx.de>
Wed, 5 May 2004 12:27:51 +0000 (12:27 +0000)
SVN-Revision: 992

src/leveleditor.cpp

index 49eb83b..d9b6283 100644 (file)
@@ -449,7 +449,7 @@ void le_init_menus()
 
   subset_new_menu->additem(MN_LABEL,"New Level Subset",0,0);
   subset_new_menu->additem(MN_HL,"",0,0);
-  subset_new_menu->additem(MN_TEXTFIELD,"Enter Name",0,0);
+  subset_new_menu->additem(MN_TEXTFIELD,"Enter Name",0,0,MNID_SUBSETNAME);
   subset_new_menu->additem(MN_ACTION,"Create",0,0, MNID_CREATESUBSET);
   subset_new_menu->additem(MN_HL,"",0,0);
   subset_new_menu->additem(MN_BACK,"Back",0,0);