knetattach: force emision of the toggled() signal for the create button

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-13 02:35:04 +03:00
parent ff20fd54c7
commit 8fc853bcb3

View file

@ -76,6 +76,9 @@ KNetAttach::KNetAttach( QWidget* parent )
void KNetAttach::slotPageChanged(int)
{
// force emision of the toggled() signal
_createIcon->setChecked(false);
// and the check state
_createIcon->setChecked(true);
}