From 1724851017e295fc9eaa3c44d2fa74862e2e620c Mon Sep 17 00:00:00 2001 From: Cleo Menezes Jr <54215258+CleoMenezesJr@users.noreply.github.com> Date: Sat, 20 May 2023 20:59:40 -0400 Subject: [PATCH] Revert ":beetle: Fix headers related bugs" --- src/dialog_headers.py | 1 + src/window.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dialog_headers.py b/src/dialog_headers.py index 92e1d1e..e321044 100644 --- a/src/dialog_headers.py +++ b/src/dialog_headers.py @@ -52,4 +52,5 @@ def on_entry_changed(self, *args) -> None: # Enable/Disable add button self.btn_add.props.sensitive = ( self.entry_header_key.get_text() + and self.entry_header_value.get_text() ) diff --git a/src/window.py b/src/window.py index 64ac3e1..54259b2 100644 --- a/src/window.py +++ b/src/window.py @@ -417,7 +417,7 @@ def __save_override(self, *_args: tuple) -> None: # Clean up field self.group_overrides_cookies.set_description("") case "headers": - title: str = _args[2].strip() + title: str = _args[2] subtitle: str = _args[3] id: str = _args[4] insertion_date = id or dt.today().isoformat()