This commit is contained in:
parent
5198495296
commit
a8fc6e7ea4
|
@ -84,8 +84,9 @@ LeftsiderbarWidget::LeftsiderbarWidget(QWidget *parent, StartMode mode)
|
|||
|
||||
connect(GlobelBackupInfo::inst().getGlobalSignals(), &GlobalSignals::busy, this, [=](bool isBusy) {
|
||||
QList<QAbstractButton *> list = this->m_funcGroup->buttons();
|
||||
bool enabled = !isBusy;
|
||||
for (QAbstractButton * button : list) {
|
||||
button->setEnabled(!isBusy);
|
||||
button->setEnabled(enabled);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue