int VCS::doVCCommand(string const & cmd, FileName const & path)
{
int VCS::doVCCommand(string const & cmd, FileName const & path)
{
+ if (owner_)
+ owner_->setBusy(true);
+
int const ret = doVCCommandCall(cmd, path);
int const ret = doVCCommandCall(cmd, path);
- owner_->setBusy(false);
+
+ if (owner_)
+ owner_->setBusy(false);
if (ret)
frontend::Alert::error(_("Revision control error."),
bformat(_("Some problem occured while running the command:\n"
if (ret)
frontend::Alert::error(_("Revision control error."),
bformat(_("Some problem occured while running the command:\n"