- // Get current selection text
- StringOutputStream key( 64 );
- key << gtk_entry_get_text( g_entityKeyEntry );
-
- if ( strcmp( key.c_str(), "classname" ) != 0 ) {
- StringOutputStream command;
- command << "entityDeleteKey -key " << key.c_str();
- UndoableCommand undo( command.c_str() );
- Scene_EntitySetKeyValue_Selected( key.c_str(), "" );
- }