Remove unuseful condition for autostart state

This commit is contained in:
Huluti 2016-12-28 16:04:09 +01:00
parent ee770cd86d
commit 5f74ebb933

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