fix crash on paste as reported by Piroux Geoffroy

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4153 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-05-13 12:42:03 +00:00
parent 983c8fad11
commit 13462e25c3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-13 André Pönitz <poenitz@gmx.net>
* math_cursor.C: fix crash on paste as reported by Piroux Geoffroy
2002-04-24 Juergen Vigna <jug@sad.it>
* formulabase.C (insetButtonPress): set the mathcursor in case we

View File

@ -130,7 +130,7 @@ struct Selection
{
if (data_.nargs() == 1) {
// single cell/part of cell
cursor.insert(data_.cell(0));
cursor.paste(data_.cell(0));
} else {
// mulitple cells
idx_type idx; // index of upper left cell