mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Set preference for sending info to default state instead of removing them
CURA-5095
This commit is contained in:
parent
7ffcfa25e9
commit
13eaa14752
2 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue