mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
* GuiIndices.cpp:
- do not issue error if renaming has been cancelled. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31229 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b5ede639d0
commit
9555ed3c22
@ -210,11 +210,11 @@ void GuiIndices::on_renamePB_clicked()
|
||||
success = indiceslist_.rename(qstring_to_ucs4(sel_index), newname);
|
||||
newIndexLE->clear();
|
||||
updateView();
|
||||
if (!success)
|
||||
Alert::error(_("Renaming failed"),
|
||||
_("The index could not be renamed. "
|
||||
"Check if the new name already exists."));
|
||||
}
|
||||
if (!success)
|
||||
Alert::error(_("Renaming failed"),
|
||||
_("The index could not be renamed. "
|
||||
"Check if the new name already exists."));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user