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:
Richard Heck 2008-07-19 16:36:14 +00:00
parent e40196edbc
commit 55238f4dfd

View File

@ -355,7 +355,7 @@ void GuiCitation::setButtons()
void GuiCitation::updateInfo(QModelIndex const & idx)
{
if (!idx.isValid() || bibInfo().empty()) {
if (!idx.isValid()) {
infoML->document()->clear();
return;
}