Changes in src/UIElements/Menu/Menu.cpp [690741:163110]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Menu/Menu.cpp
r690741 r163110 130 130 if (MenuName == name) { 131 131 const std::string &ActionName = *iter; 132 Menu::addAction(ActionName); 132 const std::string &ActionDescription = CurrentTrait.getDescription(); 133 Menu::addAction(ActionName, ActionDescription); 133 134 } 134 135 } 135 136 } 136 137 137 void Menu::addAction(const std::string &ActionName )138 void Menu::addAction(const std::string &ActionName, const std::string &ActionDescription) 138 139 { 139 140 LastItem = ActionItem; 140 addActionItem(ActionName, Action Name);141 addActionItem(ActionName, ActionDescription); 141 142 } 142 143
Note:
See TracChangeset
for help on using the changeset viewer.