Skip to content

Commit 9db5451

Browse files
Fix opening some saves (#1566)
1 parent 68f6e50 commit 9db5451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/robots/common/kitBase/src/devicesConfigurationWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void DevicesConfigurationWidget::propagateChangesFromBox(QComboBox *box)
180180
{
181181
const PortInfo &port = box->property("port").value<PortInfo>();
182182
const DeviceInfo &device = box->itemData(box->currentIndex()).value<DeviceInfo>();
183-
if (currentConfiguration(mCurrentRobotId, port) != device) {
183+
if (!device.isA(currentConfiguration(mCurrentRobotId, port))) {
184184
propagateChanges(mCurrentRobotId, port, device, Reason::userAction);
185185
}
186186
}

0 commit comments

Comments
 (0)