mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Don't need to do this check, as getInfo() will return an empty string in this case, anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25715 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e40196edbc
commit
55238f4dfd
@ -355,7 +355,7 @@ void GuiCitation::setButtons()
|
|||||||
|
|
||||||
void GuiCitation::updateInfo(QModelIndex const & idx)
|
void GuiCitation::updateInfo(QModelIndex const & idx)
|
||||||
{
|
{
|
||||||
if (!idx.isValid() || bibInfo().empty()) {
|
if (!idx.isValid()) {
|
||||||
infoML->document()->clear();
|
infoML->document()->clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user