From: Jean-Marc Lasgouttes Date: Wed, 21 Sep 2005 09:56:54 +0000 (+0000) Subject: bug 2033: new math array uses clipboard X-Git-Tag: 1.6.10~13899 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=eef740730ee9682d7f758803217b805d38a5f236;p=features.git bug 2033: new math array uses clipboard git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10469 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index b768cd4c88..73ec2e6512 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-09-20 Jean-Marc Lasgouttes + + * cursor.C (paste): do nothing if `data' is empty. (bug 2033) + 2005-09-19 Martin Vermeer * rowpainter.C (paintText): fix RtL space width display bug (2029) diff --git a/src/cursor.C b/src/cursor.C index 9af38d2fe6..2ed2722129 100644 --- a/src/cursor.C +++ b/src/cursor.C @@ -376,7 +376,8 @@ void LCursor::getPos(int & x, int & y) const void LCursor::paste(string const & data) { - dispatch(FuncRequest(LFUN_PASTE, data)); + if (!data.empty()) + dispatch(FuncRequest(LFUN_PASTE, data)); }