mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix crash on 'do nothing'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8436 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
357a3741c0
commit
3ed8009bcc
@ -1912,7 +1912,7 @@ string LCursor::currentState()
|
||||
info(os);
|
||||
return os.str();
|
||||
}
|
||||
return text()->currentState(*this);
|
||||
return text() ? text()->currentState(*this) : string();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user