]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiErrorList.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiErrorList.cpp
index 3afc6796280b4f181b1dc23adaa01faf197d53da..f104cd2ffba1461ff9213a1ff6d639fe4b6aafc4 100644 (file)
@@ -55,7 +55,7 @@ GuiErrorList::GuiErrorList(GuiView & lv)
 void GuiErrorList::showEvent(QShowEvent * e)
 {
        select();
-       updateContents();
+       paramsToDialog();
        e->accept();
 }
 
@@ -77,7 +77,7 @@ void GuiErrorList::viewLog()
 }
 
 
-void GuiErrorList::updateContents()
+void GuiErrorList::paramsToDialog()
 {
        setTitle(toqstr(name_));
        errorsLW->clear();
@@ -111,6 +111,7 @@ bool GuiErrorList::initialiseParams(string const & data)
                : &bufferview()->buffer();
        name_ = bformat(_("%1$s Errors (%2$s)"), _(error_type),
                                     from_utf8(buf->absFileName()));
+       paramsToDialog();
        return true;
 }