Commit 1ef9137c authored by Christian Kandeler's avatar Christian Kandeler

Let users create devices again.

This partially reverts commit b646c37f.

Change-Id: I708f791afb8cab4c9b0864b557f2a22e4b0fce84
Reviewed-by: default avatarhjk <>
parent 859f1eed
......@@ -87,7 +87,7 @@ Core::Id DeviceFactorySelectionDialog::selectedId() const
QList<QListWidgetItem *> selected = ui->listWidget->selectedItems();
if (selected.isEmpty())
return Core::Id();
return Core::Id::fromSetting(>data(Qt::UserRole));
} // namespace Internal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment