This commit is contained in:
Johannes Hilden 2017-11-02 20:22:25 +03:00
parent 291ceb945b
commit 4953292e64
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
#include "flatbuttonsettingseditor.h"
#include <QColorDialog>
#include <QDebug>
#include <qtmaterialflatbutton.h>
FlatButtonSettingsEditor::FlatButtonSettingsEditor(QWidget *parent)
@ -310,8 +311,7 @@ void FlatButtonSettingsEditor::init()
connect(ui->buttonTextLineEdit, SIGNAL(textChanged(QString)), this, SLOT(updateWidget()));
connect(ui->defaultPresetPushButton, SIGNAL(pressed()), this, SLOT(applyDefaultPreset()));
connect(ui->checkablePresetPushButton, SIGNAL(pressed()), this, SLOT(applyCheckablePreset()));
connect(m_button, SIGNAL(toggled(bool)), this, SLOT(setupForm()));
connect(m_button, SIGNAL(clicked(bool)), ui->checkedCheckBox, SLOT(setChecked(bool)));
ui->buttonRoleComboBox->setCurrentIndex(1);
}