aboutsummaryrefslogtreecommitdiffstats
path: root/sb_builder/__main__.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-20 12:34:04 +0200
committerDanilo M. <danix@danix.xyz>2026-10-20 12:34:04 +0200
commitf2bc23df84907a361e7d9fa20bf1bc8f7a916037 (patch)
tree60135956d7e3d98397ad80cdafa643446e231f2a /sb_builder/__main__.py
parenteaeeb7349504d83cd3251daba4c557854c46cd00 (diff)
downloadsb-builder-f2bc23df84907a361e7d9fa20bf1bc8f7a916037.tar.gz
sb-builder-f2bc23df84907a361e7d9fa20bf1bc8f7a916037.zip
Keep column widths, splitters and window size across runs
QSettings in state.conf next to config.toml, saved on close: every table header (widths, sort column) and splitter of the tabs, and the window geometry. Tests point it at a temp file, never the user's own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'sb_builder/__main__.py')
-rw-r--r--sb_builder/__main__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sb_builder/__main__.py b/sb_builder/__main__.py
index 7571bd6..239b405 100644
--- a/sb_builder/__main__.py
+++ b/sb_builder/__main__.py
@@ -34,7 +34,6 @@ def main():
app.setDesktopFileName("sb-builder") # Wayland: match sb-builder.desktop
cfg, err = config.load()
w = MainWindow(cfg, Remote(cfg))
- w.resize(1100, 700)
w.show()
if err:
QMessageBox.warning(w, "Config error", f"{err}\nUsing defaults.")