]> git.lyx.org Git - features.git/commitdiff
Assure long tooltip is correctly formatted.
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Jan 2017 08:07:44 +0000 (09:07 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Jan 2017 08:07:44 +0000 (09:07 +0100)
Amendment to ffb195b5e9fa

src/frontends/qt4/GuiBibtex.cpp
src/frontends/qt4/ui/BibtexAddUi.ui

index 8c35ced0506731d0b262045906450898b7a9a2a3..e232d2cdeee861789e4c3f752fa4bd540f99abaa 100644 (file)
@@ -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);
index e8ee4516e6d765cd27751330f39af0db895870f9..e3fe11a1a02bebf4d797a72420abe8551ce7952b 100644 (file)
@@ -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>