X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiErrorList.cpp;h=f104cd2ffba1461ff9213a1ff6d639fe4b6aafc4;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=3afc6796280b4f181b1dc23adaa01faf197d53da;hpb=b7c0fe942b351a40c129373faa9a25730aecd417;p=lyx.git diff --git a/src/frontends/qt4/GuiErrorList.cpp b/src/frontends/qt4/GuiErrorList.cpp index 3afc679628..f104cd2ffb 100644 --- a/src/frontends/qt4/GuiErrorList.cpp +++ b/src/frontends/qt4/GuiErrorList.cpp @@ -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; }