Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

rerender device view after trace cmd

Geoac5b509ec032
diff --git a/src/Dispatchers/ActionDispatcher.cpp b/src/Dispatchers/ActionDispatcher.cpp
index fba99988..1059afc9 100644
--- a/src/Dispatchers/ActionDispatcher.cpp
+++ b/src/Dispatchers/ActionDispatcher.cpp
@@ -153,8 +153,8 @@ void ActionDispatcher::dispatchCommand(const TerminalCommand& cmd) {
break;
}
- // Config was handled in specific mode, we need to rerender the pinout view
- if (cmd.getRoot() == "config" || cmd.getRoot() == "setprotocol") {
+ // Handled in specific mode, we need to rerender the pinout view
+ if (cmd.getRoot() == "config" || cmd.getRoot() == "setprotocol" || cmd.getRoot() == "trace") {
setCurrentMode(state.getCurrentMode());
}
}