Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Menu/Menu.cpp

    r163110 r690741  
    130130    if (MenuName == name) {
    131131      const std::string &ActionName = *iter;
    132       const std::string &ActionDescription = CurrentTrait.getDescription();
    133       Menu::addAction(ActionName, ActionDescription);
     132      Menu::addAction(ActionName);
    134133    }
    135134  }
    136135}
    137136
    138 void Menu::addAction(const std::string &ActionName, const std::string &ActionDescription)
     137void Menu::addAction(const std::string &ActionName)
    139138{
    140139  LastItem = ActionItem;
    141   addActionItem(ActionName, ActionDescription);
     140  addActionItem(ActionName, ActionName);
    142141}
    143142
Note: See TracChangeset for help on using the changeset viewer.