Fix checkbox behaviour

This commit is contained in:
kaetemi 2015-03-06 19:06:10 +01:00
parent 0a2c891c75
commit 4bcb8811d6

View file

@ -120,6 +120,8 @@ void CCrashReportWidget::setup( const std::vector< std::pair< std::string, std::
m_ui.gridLayout->addWidget( m_ui.emailEdit, 6, 0, 1, 1 ); m_ui.gridLayout->addWidget( m_ui.emailEdit, 6, 0, 1, 1 );
connect(cb, SIGNAL(stateChanged(int)), this, SLOT(onSendCBClicked())); connect(cb, SIGNAL(stateChanged(int)), this, SLOT(onSendCBClicked()));
if (m_forceSend)
cb->setChecked(true);
} }
hbl->addStretch(); hbl->addStretch();