forked from qt-creator/qt-creator
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: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user