mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Show Biblatex files in the TeXInfo dialog
This commit is contained in:
parent
8239e66c94
commit
8add88ee49
@ -91,7 +91,7 @@ void GuiTexInfo::rescanClicked()
|
||||
void GuiTexInfo::viewClicked()
|
||||
{
|
||||
// takes advantage of enum order
|
||||
static QString const ext[] = { "cls", "sty", "bst", "bib" };
|
||||
static QString const ext[] = { "cls", "sty", "bst", "bib", "bbx", "cbx" };
|
||||
int const fitem = fileListLW->currentRow();
|
||||
QStringList const & data = texdata_[activeStyle_];
|
||||
QString file = data[fitem];
|
||||
@ -118,7 +118,8 @@ void GuiTexInfo::enableViewPB()
|
||||
void GuiTexInfo::updateStyles(TexFileType type)
|
||||
{
|
||||
static QString const filenames[] = {
|
||||
"clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst"
|
||||
"clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst",
|
||||
"bbxFiles.lst", "cbxFiles.lst"
|
||||
};
|
||||
|
||||
QString const filename = filenames[type];
|
||||
|
@ -28,7 +28,15 @@ public:
|
||||
///
|
||||
GuiTexInfo(GuiView & lv);
|
||||
/// the file extensions. order matters in GuiTexInfo::fileType()
|
||||
enum TexFileType { ClsType = 0, StyType, BstType, BibType, DummyLastType };
|
||||
enum TexFileType {
|
||||
ClsType = 0,
|
||||
StyType,
|
||||
BstType,
|
||||
BibType,
|
||||
BbxType,
|
||||
CbxType,
|
||||
DummyLastType
|
||||
};
|
||||
|
||||
public Q_SLOTS:
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user