diff options
author | bd <bdunahu@operationnull.com> | 2025-04-18 23:33:12 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-18 23:33:12 -0400 |
commit | f18eac2ac2e5760a4cb81784ad2f23f91b6643d6 (patch) | |
tree | 7555797f86728325763fe0de892b164a97d70a2f /gui/gui.cc | |
parent | c2af6262df9c37f83dc47901529e7e5e28d69636 (diff) |
Ensure program is cleared upon load.
Diffstat (limited to 'gui/gui.cc')
-rw-r--r-- | gui/gui.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -254,6 +254,7 @@ void GUI::on_upload_intructions_btn_clicked() return; } + this->p.clear(); while (!file.atEnd()) { char bytes[4]; if (file.read(bytes, 4) == 4) { @@ -304,5 +305,5 @@ void GUI::on_save_program_state_btn_clicked() QString GUI::make_status(const std::function<std::string()> &func) { - return "CONSENSUS: " + QString::fromStdString(func()); + return "CPU SAYS: \"" + QString::fromStdString(func()) + "\""; } |