Skip to content

Commit 4c08468

Browse files
committed
GUI: update the source view if the disassembly updates
1 parent 1c02305 commit 4c08468

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/Src/Gui/SourceView.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <QInputDialog>
77
#include <memory>
88
#include "FileLines.h"
9+
#include "Bridge.h"
910

1011
SourceView::SourceView(QString path, duint addr, QWidget* parent)
1112
: AbstractStdTable(parent),
@@ -28,6 +29,7 @@ SourceView::SourceView(QString path, duint addr, QWidget* parent)
2829
connect(this, SIGNAL(contextMenuSignal(QPoint)), this, SLOT(contextMenuSlot(QPoint)));
2930
connect(this, SIGNAL(doubleClickedSignal()), this, SLOT(followDisassemblerSlot()));
3031
connect(this, SIGNAL(enterPressedSignal()), this, SLOT(followDisassemblerSlot()));
32+
connect(Bridge::getBridge(), SIGNAL(updateDisassembly()), this, SLOT(reloadData()));
3133

3234
Initialize();
3335

0 commit comments

Comments
 (0)