]> git.lyx.org Git - features.git/blobdiff - src/frontends/LyXView.C
split LyXFunc::getStatus() into inset specific chunks
[features.git] / src / frontends / LyXView.C
index 8db0e5cfec278d2e07b145896312d4b81933201c..6a18ffc032792eb63f2a77f40d5f6b24b619e4e6 100644 (file)
@@ -106,7 +106,7 @@ void LyXView::updateToolbar()
 {
        bool const math = bufferview_->cursor().inMathed();
        bool const table =
-               !getLyXFunc().getStatus(FuncRequest(LFUN_LAYOUT_TABULAR)).disabled();
+               getLyXFunc().getStatus(FuncRequest(LFUN_LAYOUT_TABULAR)).enabled();
        toolbar_->update(math, table);
 }