Skip to content

Commit 60fe4f4

Browse files
committed
GUI - fix scope style switching on RP
* Scope now switches style without requiring a resize * This is because we now refresh all internal scopes on a standard refresh regardless of whether there is data to render or not * Scopes are auto-paused with inactivity anyway, so this isn’t an efficiency loss
1 parent d77d299 commit 60fe4f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/gui/qt/scope.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,6 @@ void Scope::refresh() {
256256
}
257257
}
258258
}
259-
260-
for( auto scope : panels )
261-
{
262-
scope->refresh();
263-
}
264259
} else
265260
{
266261
++emptyFrames;
@@ -270,6 +265,11 @@ void Scope::refresh() {
270265
emptyFrames = 0;
271266
}
272267
}
268+
269+
for( auto scope : panels )
270+
{
271+
scope->refresh();
272+
}
273273
}
274274

275275

0 commit comments

Comments
 (0)