From: Juergen Spitzmueller Date: Fri, 13 Jan 2017 08:07:44 +0000 (+0100) Subject: Assure long tooltip is correctly formatted. X-Git-Tag: 2.3.0alpha1~488^2 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6b214804f6294f77b451b16c9860585e923c906b;p=features.git Assure long tooltip is correctly formatted. Amendment to ffb195b5e9fa --- 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