do not use doCommand without using format string, add overloaded method of runCommand
This commit is contained in:
@@ -99,7 +99,7 @@ bool PoissonWidget::accept()
|
||||
Gui::WaitCursor wc;
|
||||
Gui::Command::addModule(Gui::Command::App, "ReverseEngineering");
|
||||
Gui::Command::openCommand("Poisson reconstruction");
|
||||
Gui::Command::doCommand(Gui::Command::Doc, command.toLatin1());
|
||||
Gui::Command::runCommand(Gui::Command::Doc, command.toLatin1());
|
||||
Gui::Command::commitCommand();
|
||||
Gui::Command::updateActive();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user