UI-Zustand beim Schließen speichern und beim Start wiederherstellen
Fenstergeometrie, Splitter-Positionen und TreeWidget-Spaltenbreiten werden jetzt in der Konfiguration gespeichert und beim nächsten Start automatisch wiederhergestellt. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -141,6 +141,11 @@ class AppSettings(BaseSettings):
|
||||
postgresql_dbs: list[PostgreSqlDb] = []
|
||||
theme: str | None = None
|
||||
|
||||
# UI-Zustand
|
||||
window_geometry: tuple[int, int, int, int] | None = None # (x, y, width, height)
|
||||
splitter_sizes: list[int] | None = None # Splitter-Positionen
|
||||
tree_column_widths: list[int] | None = None # TreeWidget-Spaltenbreiten
|
||||
|
||||
model_config = SettingsConfigDict(json_file=config_path)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user