Material: rename Materials_Edit command
For consistency it should be Material_Edit.
This commit is contained in:
@@ -49,8 +49,8 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
|
||||
Gui::MenuItem* material = new Gui::MenuItem;
|
||||
root->insertItem(item, material);
|
||||
material->setCommand("&Materials");
|
||||
*material << "Materials_Edit";
|
||||
material->setCommand("&Material");
|
||||
*material << "Material_Edit";
|
||||
|
||||
return root;
|
||||
}
|
||||
@@ -60,8 +60,8 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
|
||||
Gui::ToolBarItem* material = new Gui::ToolBarItem(root);
|
||||
material->setCommand("Materials");
|
||||
*material << "Materials_Edit";
|
||||
material->setCommand("Material");
|
||||
*material << "Material_Edit";
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user