Set preference for sending info to default state instead of removing them

CURA-5095
This commit is contained in:
Jaime van Kessel 2018-10-02 11:37:04 +02:00
parent 7ffcfa25e9
commit 13eaa14752
2 changed files with 5 additions and 5 deletions

View file

@ -88,9 +88,9 @@ class VersionUpgrade34to35(VersionUpgrade):
# Need to show the data collection agreement again because the data Cura collects has been changed.
if parser.has_option("info", "asked_send_slice_info"):
parser.remove_option("info", "asked_send_slice_info")
parser.set("info", "asked_send_slice_info", "False")
if parser.has_option("info", "send_slice_info"):
parser.remove_option("info", "send_slice_info")
parser.set("info", "send_slice_info", "True")
# Update version number.
parser["general"]["version"] = "6"