mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Disable signals on programmatic checks to prevent unnecessary trigger of slots.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17790 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
580ca795dd
commit
4502bc5f3d
@ -114,7 +114,9 @@ void QParagraph::update_contents()
|
||||
LyXAlignment defaultAlignment = controller().alignDefault();
|
||||
bool alignmentIsDefault =
|
||||
newAlignment == LYX_ALIGN_LAYOUT || newAlignment == defaultAlignment;
|
||||
dialog_->alignDefaultCB->blockSignals(true);
|
||||
dialog_->alignDefaultCB->setChecked(alignmentIsDefault);
|
||||
dialog_->alignDefaultCB->blockSignals(false);
|
||||
dialog_->checkAlignmentRadioButtons();
|
||||
dialog_->alignmentToRadioButtons(newAlignment);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user