commit 6b214804f6294f77b451b16c9860585e923c906b
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Fri Jan 13 09:07:44 2017 +0100

    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 deletions(-)

diff --git a/src/frontends/qt4/GuiBibtex.cpp b/src/frontends/qt4/GuiBibtex.cpp
index 8c35ced..e232d2c 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 e8ee451..e3fe11a 100644
--- a/src/frontends/qt4/ui/BibtexAddUi.ui
+++ b/src/frontends/qt4/ui/BibtexAddUi.ui
@@ -38,7 +38,7 @@
      <item row="1" column="0" colspan="2">
       <widget class="QListWidget" name="bibLW">
        <property name="toolTip">
-        <string>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.</string>
+        <string/>
        </property>
        <property name="selectionMode">
         <enum>QAbstractItemView::ExtendedSelection</enum>

Reply via email to