mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-21 06:14:05 +00:00
Merge pull request #103 from damib/bugfix
Bugfix: disabling all the markers causes the GUI to freeze
This commit is contained in:
commit
9bd034bc45
1 changed files with 2 additions and 0 deletions
2
plot.c
2
plot.c
|
|
@ -1493,6 +1493,8 @@ draw_all(bool flush)
|
||||||
void
|
void
|
||||||
redraw_marker(int marker, int update_info)
|
redraw_marker(int marker, int update_info)
|
||||||
{
|
{
|
||||||
|
if (marker < 0)
|
||||||
|
return;
|
||||||
// mark map on new position of marker
|
// mark map on new position of marker
|
||||||
markmap_marker(marker);
|
markmap_marker(marker);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue