Commit 3d9a71a2 authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk

Debugger: Do not warn SOFT_ASSERT when no debugger is selected

Do not not try to update the debugger if none is actually set. This
avoids triggering a SOFT_ASSERT in the debuggeritemmodel.

Change-Id: I646e251f58d6e25f1a88bddc142d953f94522084
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 291c1d33
...@@ -112,7 +112,9 @@ DebuggerItem DebuggerItemConfigWidget::item() const ...@@ -112,7 +112,9 @@ DebuggerItem DebuggerItemConfigWidget::item() const
void DebuggerItemConfigWidget::store() const void DebuggerItemConfigWidget::store() const
{ {
m_model->updateDebugger(item()); DebuggerItem i = item();
if (i.isValid())
m_model->updateDebugger(i);
} }
void DebuggerItemConfigWidget::setAbis(const QStringList &abiNames) void DebuggerItemConfigWidget::setAbis(const QStringList &abiNames)
......
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