From 26c9b4edb81da253f1678fa030fa5507f0fd9edd Mon Sep 17 00:00:00 2001 From: nyanpasu64 Date: Sun, 4 Feb 2024 19:19:24 -0800 Subject: [PATCH] Change default UI text for row/column count to Auto This makes the UI easier to understand, especially now that both rows and columns are set to 0 (auto) by default. --- corrscope/gui/view_mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corrscope/gui/view_mainwindow.py b/corrscope/gui/view_mainwindow.py index 7020f6f..8c35d17 100644 --- a/corrscope/gui/view_mainwindow.py +++ b/corrscope/gui/view_mainwindow.py @@ -257,13 +257,13 @@ class MainWindow(QWidget): with add_row(s, tr("Columns"), QHBoxLayout) as self.layoutDims: with append_widget(s, BoundSpinBox) as self.layout__ncols: - self.layout__ncols.setSpecialValueText(NBSP) + self.layout__ncols.setSpecialValueText(tr("Auto")) with append_widget(s, QLabel) as self.layout__nrowsL: pass with append_widget(s, BoundSpinBox) as self.layout__nrows: - self.layout__nrows.setSpecialValueText(NBSP) + self.layout__nrows.setSpecialValueText(tr("Auto")) with append_widget(s, QGroupBox, title=tr("Stereo"), layout=QFormLayout): with add_row(