Fixing button locking, part I
This commit is contained in:
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user