Open transaction when start editing with context-menu

This commit is contained in:
wmayer
2012-11-28 13:24:46 +01:00
parent 2c8009cb74
commit dd67c22837
6 changed files with 33 additions and 18 deletions

View File

@@ -45,8 +45,8 @@ ViewProvider::~ViewProvider()
bool ViewProvider::doubleClicked(void)
{
std::string Msg("Change ");
Msg += this->pcObject->getNameInDocument();
std::string Msg("Edit ");
Msg += this->pcObject->Label.getValue();
Gui::Command::openCommand(Msg.c_str());
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().setEdit('%s',0)",this->pcObject->getNameInDocument());
return true;