]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiParagraph.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiParagraph.cpp
index 903a9ee76fddd0fea7455d3327bd414c80f1875f..49465a7ef06ec5cd53bf8536cc5fa179425a6fcd 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "GuiParagraph.h"
 
+#include "qt_helpers.h"
+
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "BufferView.h"
 #include "Lexer.h"
 #include "Paragraph.h"
 #include "ParagraphParameters.h"
-#include "qt_helpers.h"
 #include "Spacing.h"
 
 #include "support/debug.h"
 #include "support/gettext.h"
 
 #include <QCheckBox>
-#include <QCloseEvent>
 #include <QLineEdit>
 #include <QPushButton>
 
@@ -122,8 +122,6 @@ void GuiParagraph::alignmentToRadioButtons(LyXAlignment align)
 {
        RadioMap::const_iterator it = radioMap.begin();
        for (;it != radioMap.end(); ++it) {
-               if (!it->second->isEnabled())
-                       continue;
                it->second->blockSignals(true);
                it->second->setChecked(align == it->first);
                it->second->blockSignals(false);