Debugger: Update internal buffer before checking dirtyness

Fixes: QTCREATORBUG-29746
Change-Id: I63f3c5bd2c628b42ba23dd19d80a410dbca8cfc1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2023-10-13 11:34:22 +02:00
parent d7f44cdd24
commit 5859384250
2 changed files with 8 additions and 0 deletions

View File

@@ -461,6 +461,12 @@ void SourcePathMapAspect::toMap(Store &) const
QTC_CHECK(false);
}
bool SourcePathMapAspect::isDirty()
{
guiToBuffer();
return m_internal != m_buffer;
}
void SourcePathMapAspect::addToLayout(Layouting::LayoutItem &parent)
{
QTC_CHECK(!d->m_widget);