Fixing button locking, part I

This commit is contained in:
2026-01-06 18:47:08 +01:00
parent 221e0bc8c2
commit a8a947ff0b
8 changed files with 50 additions and 27 deletions

View File

@@ -313,14 +313,10 @@ void BCMainWindow::onValueUpdated(BCDevice::ID deviceID, int index, BCValue::Sta
void BCMainWindow::onSyncDeviceView()
{
Q_ASSERT_X(_currentPanel, "onSyncDeviceView()", "_currentpanel ist null!");
qDebug() << " ---Syncing";
const BCValueList& currentList =_currentPanel->getValueListX();
// alle einzeln? echt jetzt?
_syncButton->setEnabled( false );
for( const BCValuePtr& value : currentList )
{
@@ -336,4 +332,6 @@ void BCMainWindow::onSyncDeviceView()
}
//_syncButton->setEnabled( true );
}