]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.cpp
List currently used shortcuts in the shortcuts panel of the preference dialog
[lyx.git] / src / DocIterator.cpp
index 07e0d6f5e0d012a7e24dfeb18400db2c3cae2789..7bfc2fb1f5635839462eb3d6bfc7a440bcde728d 100644 (file)
@@ -95,7 +95,7 @@ Inset * DocIterator::realInset() const
 {
        BOOST_ASSERT(inTexted());
        // if we are in a tabular, we need the cell
-       if (inset().lyxCode() == Inset::TABULAR_CODE) {
+       if (inset().lyxCode() == TABULAR_CODE) {
                InsetTabular & tabular = static_cast<InsetTabular&>(inset());
                return tabular.cell(idx()).get();
        }