mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
Better safe than sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28299 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
80e87042b4
commit
b3adfd3d26
@ -45,9 +45,13 @@ int VCS::doVCCommandCall(string const & cmd, FileName const & path){
|
|||||||
|
|
||||||
int VCS::doVCCommand(string const & cmd, FileName const & path)
|
int VCS::doVCCommand(string const & cmd, FileName const & path)
|
||||||
{
|
{
|
||||||
owner_->setBusy(true);
|
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)
|
if (ret)
|
||||||
frontend::Alert::error(_("Revision control error."),
|
frontend::Alert::error(_("Revision control error."),
|
||||||
bformat(_("Some problem occured while running the command:\n"
|
bformat(_("Some problem occured while running the command:\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user