Properly check windows controls

This commit is contained in:
Patrick Ulbrich
2016-07-21 22:12:32 +02:00
parent a225a82e96
commit 8a80ca3459

View File

@@ -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)