]> git.lyx.org Git - features.git/commit
Fix bug 5766: http://bugzilla.lyx.org/show_bug.cgi?id=5766.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Feb 2009 19:39:28 +0000 (19:39 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Feb 2009 19:39:28 +0000 (19:39 +0000)
commit74163aa0cf29e2937150a3b2cd62320955ca925a
treef7ede01d42c3048986d0dd19e0e5433a941b8677
parent71c44aa9d04e863671a48cfa680edd17aa3514d5
Fix bug 5766: http://bugzilla.lyx.org/show_bug.cgi?id=5766.
Crash when selecting a row and doing "Delete column" in a table with multicolumns.

The check "column + 1 < column_info.size()" checks whether there is at least one column after this one. However, this check is no longer valid if we remove the column from column_info first.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28419 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetTabular.cpp