]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiErrorList.cpp
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / GuiErrorList.cpp
index 75ffaf5ff42876727589e05e183d7420b4179a3f..9d908ad5e011e10def0aa943b45ac0a61331cc6c 100644 (file)
@@ -72,7 +72,6 @@ GuiErrorList::GuiErrorList(GuiView & lv)
 
        bc().setPolicy(ButtonPolicy::OkCancelPolicy);
        bc().setCancel(closePB);
-       showAnywayPB->setEnabled(lyx::getStatus(FuncRequest(LFUN_BUFFER_VIEW_CACHE)).enabled());
 }
 
 
@@ -125,6 +124,8 @@ void GuiErrorList::paramsToDialog()
        for (; it != en; ++it)
                errorsLW->addItem(toqstr(it->error));
        errorsLW->setCurrentRow(0);
+       showAnywayPB->setEnabled(
+               lyx::getStatus(FuncRequest(LFUN_BUFFER_VIEW_CACHE)).enabled());
 }