mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
GuiDocument.cpp: code simplification spotted by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30701 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f981863cde
commit
31f824e447
@ -2273,9 +2273,7 @@ void GuiDocument::paramsToDialog()
|
||||
textLayoutModule->indentRB->setChecked(true);
|
||||
string indentation = bp_.getIndentation().asLyXCommand();
|
||||
int indent = 0;
|
||||
if (indentation == "default")
|
||||
indent = 0;
|
||||
else {
|
||||
if (indentation != "default") {
|
||||
lengthToWidgets(textLayoutModule->indentLE,
|
||||
textLayoutModule->indentLengthCO,
|
||||
indentation, defaultUnit);
|
||||
|
Loading…
Reference in New Issue
Block a user