From 6b214804f6294f77b451b16c9860585e923c906b Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 13 Jan 2017 09:07:44 +0100 Subject: [PATCH] Assure long tooltip is correctly formatted. Amendment to ffb195b5e9fa --- src/frontends/qt4/GuiBibtex.cpp | 4 ++++ src/frontends/qt4/ui/BibtexAddUi.ui | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiBibtex.cpp b/src/frontends/qt4/GuiBibtex.cpp index 8c35ced050..e232d2cdee 100644 --- a/src/frontends/qt4/GuiBibtex.cpp +++ b/src/frontends/qt4/GuiBibtex.cpp @@ -107,6 +107,10 @@ GuiBibtex::GuiBibtex(GuiView & lv) connect(add_->closePB, SIGNAL(clicked()), add_, SLOT(reject())); + add_->bibLW->setToolTip(formatToolTip(qt_("This list consists of all databases that are indexed by LaTeX and thus are found without a file path. " + "This is usually everything in the bib/ subdirectory of LaTeX's texmf tree. " + "If you want to reuse your own database, this is the place you should store it."))); + bc().setPolicy(ButtonPolicy::NoRepeatedApplyReadOnlyPolicy); bc().setOK(okPB); bc().setCancel(closePB); diff --git a/src/frontends/qt4/ui/BibtexAddUi.ui b/src/frontends/qt4/ui/BibtexAddUi.ui index e8ee4516e6..e3fe11a1a0 100644 --- a/src/frontends/qt4/ui/BibtexAddUi.ui +++ b/src/frontends/qt4/ui/BibtexAddUi.ui @@ -38,7 +38,7 @@ - This list consists of all databases that are indexed by LaTeX and thus are found without a file path. This is usually everything in the bib/ subdirectory of LaTeX's texmf tree. If you want to reuse your own database, this is the place you should store it. + QAbstractItemView::ExtendedSelection -- 2.39.2