mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
* GuiBranches.cpp: avoid message after cancel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30487 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a86fe9aabe
commit
1704c727de
@ -175,7 +175,7 @@ void GuiBranches::on_renamePB_pressed()
|
|||||||
success = branchlist_.rename(oldname, newname);
|
success = branchlist_.rename(oldname, newname);
|
||||||
newBranchLE->clear();
|
newBranchLE->clear();
|
||||||
updateView();
|
updateView();
|
||||||
}
|
|
||||||
if (!success)
|
if (!success)
|
||||||
Alert::error(_("Renaming failed"),
|
Alert::error(_("Renaming failed"),
|
||||||
_("The branch could not be renamed."));
|
_("The branch could not be renamed."));
|
||||||
@ -183,6 +183,7 @@ void GuiBranches::on_renamePB_pressed()
|
|||||||
// emit signal
|
// emit signal
|
||||||
renameBranches(oldname, newname);
|
renameBranches(oldname, newname);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user