diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-20 17:32:23 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-20 17:32:23 +0200 |
commit | ddaf44a6df4f6abd3eebbb07b44dba55596ca33c (patch) | |
tree | 216dfbffa7e3e9bb5ce06dd4987c624b618d02f0 /qtmips_gui | |
parent | 95cdb19691afd5133b75b65f6e88c19a59851f7b (diff) | |
download | qtmips-ddaf44a6df4f6abd3eebbb07b44dba55596ca33c.tar.gz qtmips-ddaf44a6df4f6abd3eebbb07b44dba55596ca33c.tar.bz2 qtmips-ddaf44a6df4f6abd3eebbb07b44dba55596ca33c.zip |
Make program and memory window visible when address requested from symbol dialog.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/mainwindow.cpp | 4 |
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); |