Remove unuseful condition for autostart state

merge-requests/64/head
Huluti 2016-12-28 16:04:09 +01:00
parent ee770cd86d
commit 5f74ebb933
1 changed files with 1 additions and 2 deletions

View File

@ -251,8 +251,7 @@ class ManjaroHello():
if name == "install":
subprocess.Popen(["sudo", "-E", "calamares"])
elif name == "autostart":
autostart = True if action.get_active() else False
self.set_autostart(autostart)
self.set_autostart(action.get_active())
elif name == "about":
dialog = self.builder.get_object("aboutdialog")
dialog.run()