Finished feature of opening assembly tab when there's no source file.

This commit is contained in:
Ernie Pasveer
2025-12-19 13:16:52 -06:00
parent 7fed7a338e
commit df17f0e493
10 changed files with 69 additions and 31 deletions
+2 -6
View File
@@ -137,11 +137,7 @@ void SeerStackFramesBrowserWidget::handleText (const QString& text) {
}
// Automatically bring up the assembly for the first frame.
if (firstFrameLevel != "") {
if (firstFrameAddr != "") {
emit selectedAddress(firstFrameAddr);
}
}
emit maybeSelectedAddress(firstLiveFrameFile, firstLiveFrameFullname, firstFrameAddr);
}
// Select the first frame level.
@@ -215,7 +211,7 @@ void SeerStackFramesBrowserWidget::handleItemClicked (QTreeWidgetItem* item, int
// Select address if we can.
if (item->text(5) != "") {
emit selectedAddress(item->text(5));
emit maybeSelectedAddress(item->text(2), item->text(4), item->text(5));
}
}