bug 2033: new math array uses clipboard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10469 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-09-21 09:56:54 +00:00
parent c302740b9b
commit eef740730e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* cursor.C (paste): do nothing if `data' is empty. (bug 2033)
2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
* rowpainter.C (paintText): fix RtL space width display bug (2029)

View File

@ -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));
}