diff --git a/Mailnag/configuration/configwindow.py b/Mailnag/configuration/configwindow.py index c841c7e..b25a235 100644 --- a/Mailnag/configuration/configwindow.py +++ b/Mailnag/configuration/configwindow.py @@ -74,7 +74,7 @@ class ConfigWindow: self._headerbar = builder.get_object("headerbar") - if len(left) <= len(right): + if left.count(",") <= right.count(","): self._headerbar.pack_start(self._switch_daemon_enabled) else: self._headerbar.pack_end(self._switch_daemon_enabled)