// margins
marginsModule = new UiWidget<Ui::MarginsUi>(this);
- connect(marginsModule->marginCB, SIGNAL(toggled(bool)),
+ connect(marginsModule->marginCB, SIGNAL(clicked(bool)),
this, SLOT(setCustomMargins(bool)));
connect(marginsModule->marginCB, SIGNAL(clicked()),
this, SLOT(change_adaptor()));
if (extern_geometry) {
marginsModule->marginCB->setChecked(false);
setCustomMargins(true);
- } else
+ } else {
marginsModule->marginCB->setChecked(!bp_.use_geometry);
+ setCustomMargins(!bp_.use_geometry);
+ }
}