mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Don't need to use const char*
--HG-- branch : develop
This commit is contained in:
parent
35f1fa0609
commit
b8658f65f1
1 changed files with 2 additions and 2 deletions
|
@ -1303,12 +1303,12 @@ public:
|
||||||
if (pMCM->EditCmd->CurrentEditCmdNb != -1) // Edit mode ?
|
if (pMCM->EditCmd->CurrentEditCmdNb != -1) // Edit mode ?
|
||||||
{
|
{
|
||||||
pMCM->CurrentEditMacro.delCommand(pMCM->EditCmd->CurrentEditCmdNb);
|
pMCM->CurrentEditMacro.delCommand(pMCM->EditCmd->CurrentEditCmdNb);
|
||||||
pMCM->CurrentEditMacro.addCommand (pMCM->EditCmd->CurrentEditCmdLine.ActionName.Name.c_str(),pMCM->EditCmd->CurrentEditCmdLine.ActionName.Argu.c_str(),
|
pMCM->CurrentEditMacro.addCommand (pMCM->EditCmd->CurrentEditCmdLine.ActionName.Name, pMCM->EditCmd->CurrentEditCmdLine.ActionName.Argu,
|
||||||
pMCM->EditCmd->CurrentEditCmdNb);
|
pMCM->EditCmd->CurrentEditCmdNb);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
pMCM->CurrentEditMacro.addCommand(pMCM->EditCmd->CurrentEditCmdLine.ActionName.Name.c_str(),pMCM->EditCmd->CurrentEditCmdLine.ActionName.Argu.c_str());
|
pMCM->CurrentEditMacro.addCommand(pMCM->EditCmd->CurrentEditCmdLine.ActionName.Name, pMCM->EditCmd->CurrentEditCmdLine.ActionName.Argu);
|
||||||
}
|
}
|
||||||
CAHManager::getInstance()->runActionHandler("new_macro_open", pCaller);
|
CAHManager::getInstance()->runActionHandler("new_macro_open", pCaller);
|
||||||
pMCM->EditCmd->deactivate();
|
pMCM->EditCmd->deactivate();
|
||||||
|
|
Loading…
Reference in a new issue