]> git.lyx.org Git - features.git/commitdiff
* src/insets/insettabular.C
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 4 Jan 2007 11:05:22 +0000 (11:05 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 4 Jan 2007 11:05:22 +0000 (11:05 +0000)
(InsetTabular::getStatus): Correctly enable LFUN_PASTE when the
special tabular clipboard is empty by removing an errornous
fall-through to LFUN_INSET_MODIFY

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16495 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insettabular.C

index 38e15117994909797d16ab706683a785a6ae26aa..43f3c4ff071e6f93f5d3aa0d2d6de0d2a09198e2 100644 (file)
@@ -1036,7 +1036,8 @@ bool InsetTabular::getStatus(LCursor & cur, FuncRequest const & cmd,
                if (tabularStackDirty()) {
                        status.enabled(true);
                        return true;
-               }
+               } else
+                       return cell(cur.idx())->getStatus(cur, cmd, status);
 
        case LFUN_INSET_MODIFY:
                if (translate(cmd.getArg(0)) == TABULAR_CODE) {