Disable alignment doesn't mean it's not possible (egg. readonly mode).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22886 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-09 10:11:11 +00:00
parent 69d566afea
commit 5b2625fdfe

View File

@ -122,8 +122,6 @@ void GuiParagraph::alignmentToRadioButtons(LyXAlignment align)
{ {
RadioMap::const_iterator it = radioMap.begin(); RadioMap::const_iterator it = radioMap.begin();
for (;it != radioMap.end(); ++it) { for (;it != radioMap.end(); ++it) {
if (!it->second->isEnabled())
continue;
it->second->blockSignals(true); it->second->blockSignals(true);
it->second->setChecked(align == it->first); it->second->setChecked(align == it->first);
it->second->blockSignals(false); it->second->blockSignals(false);