Fix issue #29
This commit is contained in:
parent
291ceb945b
commit
4953292e64
|
@ -1,5 +1,6 @@
|
||||||
#include "flatbuttonsettingseditor.h"
|
#include "flatbuttonsettingseditor.h"
|
||||||
#include <QColorDialog>
|
#include <QColorDialog>
|
||||||
|
#include <QDebug>
|
||||||
#include <qtmaterialflatbutton.h>
|
#include <qtmaterialflatbutton.h>
|
||||||
|
|
||||||
FlatButtonSettingsEditor::FlatButtonSettingsEditor(QWidget *parent)
|
FlatButtonSettingsEditor::FlatButtonSettingsEditor(QWidget *parent)
|
||||||
|
@ -310,8 +311,7 @@ void FlatButtonSettingsEditor::init()
|
||||||
connect(ui->buttonTextLineEdit, SIGNAL(textChanged(QString)), this, SLOT(updateWidget()));
|
connect(ui->buttonTextLineEdit, SIGNAL(textChanged(QString)), this, SLOT(updateWidget()));
|
||||||
connect(ui->defaultPresetPushButton, SIGNAL(pressed()), this, SLOT(applyDefaultPreset()));
|
connect(ui->defaultPresetPushButton, SIGNAL(pressed()), this, SLOT(applyDefaultPreset()));
|
||||||
connect(ui->checkablePresetPushButton, SIGNAL(pressed()), this, SLOT(applyCheckablePreset()));
|
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);
|
ui->buttonRoleComboBox->setCurrentIndex(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue