]> git.lyx.org Git - lyx.git/commit
Fix a crash following the input of an invalid paragraph separation value in the docum...
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 15 Feb 2008 14:13:05 +0000 (14:13 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 15 Feb 2008 14:13:05 +0000 (14:13 +0000)
commitebc464950801141403091ebf8f2adefe0419226b
tree27d9d569cc37e979c2a3f3a98c4ea8cd99669937
parentfa10443c54f9f319dabc572a50e4da0499ceab54
Fix a crash following the input of an invalid paragraph separation value in the document settings dialog (bug 4556).

* src/frontends/qt4/GuiDocument.cpp:
- disallow input of defskip length without actual length value.

* src/BufferParams.cpp (readToken):
- there might be documents with the invalif "\defskip defskip" param. Reset this to "\defskip medskip".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23022 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferParams.cpp
src/frontends/qt4/GuiDocument.cpp