]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.C
use NEW_TABULAR�to controll all insettabler usage and code
[features.git] / src / lyxfunc.C
index 4d15da22df895cb183c4446854a1cf52443f3d2e..dea07908c294d13a5301ac637974173416c23d4a 100644 (file)
@@ -404,9 +404,11 @@ LyXFunc::func_status LyXFunc::getStatus(int ac) const
        case LFUN_RUNCHKTEX:
                disable = lyxrc.chktex_command == "none";
                break;
+#ifndef NEW_TABULAR
        case LFUN_LAYOUT_TABLE:
                disable = ! owner->view()->text->cursor.par()->table;
                break;
+#endif
        default:
                break;
         }