gentoo-ebuilds/net-wireless/nanovna-saver/files/nanovna-saver-0.7.3-TDR.patch
Thomas Beierlein 7ab9b24d15
net-wireless/nanovna-saver: add 0.7.3
Drop x86 keyword as new build system would requiere
dev-qt/qtlanguageserver keyworded for these arch.
Discussed with ionen and jsmolic on irc.
Both spoke for keeping footprint of qt dev tools small.
As package is relevant only for small group of radio and electronic
enthusiasts lets drop x86 for new versions and keep old 0.6.8 with x86
support as long as possible.

Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
2025-05-06 17:34:06 +02:00

18 lines
568 B
Diff

diff --git a/src/NanoVNASaver/Charts/TDR.py b/src/NanoVNASaver/Charts/TDR.py
index 9a91e05..5e75ed4 100644
--- a/src/NanoVNASaver/Charts/TDR.py
+++ b/src/NanoVNASaver/Charts/TDR.py
@@ -388,11 +388,11 @@ class TDRChart(Chart):
qp.drawText(
self.leftMargin - 10,
self.topMargin + height + 15,
- f"""{
+ f"""{{
round(
self.tdrWindow.distance_axis[min_index] / 2, self.decimals
)!s
- }m""",
+ }}m""",
)
def _draw_y_ticks(