Ignore:
File:
1 edited

Legend:

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

    r690741 r163110  
    130130    if (MenuName == name) {
    131131      const std::string &ActionName = *iter;
    132       Menu::addAction(ActionName);
     132      const std::string &ActionDescription = CurrentTrait.getDescription();
     133      Menu::addAction(ActionName, ActionDescription);
    133134    }
    134135  }
    135136}
    136137
    137 void Menu::addAction(const std::string &ActionName)
     138void Menu::addAction(const std::string &ActionName, const std::string &ActionDescription)
    138139{
    139140  LastItem = ActionItem;
    140   addActionItem(ActionName, ActionName);
     141  addActionItem(ActionName, ActionDescription);
    141142}
    142143
Note: See TracChangeset for help on using the changeset viewer.