mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
Merge pull request #515 from tiresiasfromthebai/fix-visualizer-refresh-on-exit
Don't auto-refresh the Array/Matrix visualizers when the program exits
This commit is contained in:
@@ -722,8 +722,9 @@ void SeerArrayVisualizerWidget::handleText (const QString& text) {
|
||||
bArrayStrideLineEdit->setFocus();
|
||||
}
|
||||
|
||||
// At a stopping point, refresh.
|
||||
}else if (text.startsWith("*stopped,reason=\"")) {
|
||||
// At a stopping point, refresh. Skip the "exited" reasons: the program
|
||||
// is gone and reading the arrays would fail with a memory error.
|
||||
}else if (text.startsWith("*stopped,reason=\"") && text.startsWith("*stopped,reason=\"exited") == false) {
|
||||
|
||||
if (autoRefreshCheckBox->isChecked()) {
|
||||
handleaRefreshButton();
|
||||
|
||||
@@ -417,8 +417,9 @@ void SeerMatrixVisualizerWidget::handleText (const QString& text) {
|
||||
matrixStrideLineEdit->setFocus();
|
||||
}
|
||||
|
||||
// At a stopping point, refresh.
|
||||
}else if (text.startsWith("*stopped,reason=\"")) {
|
||||
// At a stopping point, refresh. Skip the "exited" reasons: the program
|
||||
// is gone and reading the matrix would fail with a memory error.
|
||||
}else if (text.startsWith("*stopped,reason=\"") && text.startsWith("*stopped,reason=\"exited") == false) {
|
||||
|
||||
if (autoRefreshCheckBox->isChecked()) {
|
||||
handleRefreshButton();
|
||||
|
||||
Reference in New Issue
Block a user