aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp
index a344fc6..c78deb8 100644
--- a/qtmips_gui/mainwindow.cpp
+++ b/qtmips_gui/mainwindow.cpp
@@ -389,8 +389,12 @@ void MainWindow::show_symbol_dialog(){
delete symnames;
connect(gotosyboldialog, SIGNAL(program_focus_addr(std::uint32_t)),
program, SIGNAL(focus_addr_with_save(std::uint32_t)));
+ connect(gotosyboldialog, SIGNAL(program_focus_addr(std::uint32_t)),
+ this, SLOT(show_program()));
connect(gotosyboldialog, SIGNAL(memory_focus_addr(std::uint32_t)),
memory, SIGNAL(focus_addr(std::uint32_t)));
+ connect(gotosyboldialog, SIGNAL(memory_focus_addr(std::uint32_t)),
+ this, SLOT(show_memory()));
connect(gotosyboldialog, SIGNAL(obtain_value_for_name(std::uint32_t&,QString)),
machine->symbol_table(), SLOT(name_to_value(std::uint32_t&,QString)));
gotosyboldialog->setAttribute(Qt::WA_DeleteOnClose);