Skip to content

Commit

Permalink
Fixed bug where you couldn't modify items with labels
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Oct 23, 2010
1 parent cf98abf commit ce59241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dialogs/world_prefs/genpropertypage.cpp
Expand Up @@ -471,7 +471,10 @@ CString strMsg;
(LPCTSTR) m_strObjectType,
(LPCTSTR) App.GetUniqueString ());
else
{
strObjectName.MakeLower ();
strOldObjectName.MakeLower ();
}

// if name changed, delete and re-add it
if (strObjectName != strOldObjectName) // has name changed?
Expand Down
2 changes: 1 addition & 1 deletion scripting/methods/methods_info.cpp
Expand Up @@ -182,7 +182,7 @@ tInfoTypeMapping InfoTypes [] =
{ 83, "SQLite3 version" },
{ 84, "File browsing directory" },
{ 85, "State files path (directory)" },
{ 86, "Word under mouse on mouse menu" },
{ 86, "Word under mouse on mouse menu click" },



Expand Down

0 comments on commit ce59241

Please sign in to comment.