forked from qt-creator/qt-creator
ProjectExplorer: Make sure all changes to device settings are applied
The old "editingFinished on macOS" problem hits again.
A cursory glance seems to suggest the required call to
updateDeviceFromUi() was missing already in the original patch
dff0761406
.
Change-Id: Id286417962010bfffe98169b55fb42e3480b03f6
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -251,6 +251,7 @@ void DeviceSettingsWidget::updateDeviceFromUi()
|
|||||||
|
|
||||||
void DeviceSettingsWidget::saveSettings()
|
void DeviceSettingsWidget::saveSettings()
|
||||||
{
|
{
|
||||||
|
updateDeviceFromUi();
|
||||||
ICore::settings()->setValueWithDefault(LastDeviceIndexKey, currentIndex(), 0);
|
ICore::settings()->setValueWithDefault(LastDeviceIndexKey, currentIndex(), 0);
|
||||||
DeviceManager::replaceInstance();
|
DeviceManager::replaceInstance();
|
||||||
}
|
}
|
||||||
|
@@ -223,6 +223,7 @@ void GenericLinuxDeviceConfigurationWidget::updateDeviceFromUi()
|
|||||||
keyFileEditingFinished();
|
keyFileEditingFinished();
|
||||||
handleFreePortsChanged();
|
handleFreePortsChanged();
|
||||||
gdbServerEditingFinished();
|
gdbServerEditingFinished();
|
||||||
|
qmlRuntimeEditingFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GenericLinuxDeviceConfigurationWidget::updatePortsWarningLabel()
|
void GenericLinuxDeviceConfigurationWidget::updatePortsWarningLabel()
|
||||||
|
Reference in New Issue
Block a user