diff --git a/src/frontends/qt4/GuiTexinfo.cpp b/src/frontends/qt4/GuiTexinfo.cpp
index 482c007721..846232289c 100644
--- a/src/frontends/qt4/GuiTexinfo.cpp
+++ b/src/frontends/qt4/GuiTexinfo.cpp
@@ -92,7 +92,7 @@ void GuiTexInfo::rescanClicked()
void GuiTexInfo::viewClicked()
{
// takes advantage of enum order
- static QString const ext[] = { "cls", "sty", "bst" };
+ static QString const ext[] = { "cls", "sty", "bst", "bib" };
int const fitem = fileListLW->currentRow();
QStringList const & data = texdata_[activeStyle_];
QString file = data[fitem];
@@ -119,7 +119,7 @@ void GuiTexInfo::enableViewPB()
void GuiTexInfo::updateStyles(TexFileType type)
{
static QString const filenames[] = {
- "clsFiles.lst", "styFiles.lst", "bstFiles.lst"
+ "clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst"
};
QString const filename = filenames[type];
diff --git a/src/frontends/qt4/GuiTexinfo.h b/src/frontends/qt4/GuiTexinfo.h
index c190a4bc4b..8d9116a1dc 100644
--- a/src/frontends/qt4/GuiTexinfo.h
+++ b/src/frontends/qt4/GuiTexinfo.h
@@ -29,7 +29,7 @@ public:
///
GuiTexInfo(GuiView & lv);
/// the file extensions. order matters in GuiTexInfo::fileType()
- enum TexFileType { ClsType = 0, StyType, BstType, DummyLastType };
+ enum TexFileType { ClsType = 0, StyType, BstType, BibType, DummyLastType };
public Q_SLOTS:
///
diff --git a/src/frontends/qt4/ui/TexinfoUi.ui b/src/frontends/qt4/ui/TexinfoUi.ui
index 7d5c91d9cc..e34b73daee 100644
--- a/src/frontends/qt4/ui/TexinfoUi.ui
+++ b/src/frontends/qt4/ui/TexinfoUi.ui
@@ -138,6 +138,11 @@
BibTeX styles
+ -
+
+ BibTeX databases
+
+
-