This commit is contained in:
zhaominyong 2022-01-21 13:49:13 +08:00
parent 5198495296
commit a8fc6e7ea4
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
});