mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Reset send slice info and show privacy dialog
CURA-5095 Because the data Cura collects has been changed.
This commit is contained in:
parent
f912630d17
commit
5a235a59dd
1 changed files with 5 additions and 0 deletions
|
@ -92,6 +92,11 @@ class VersionUpgrade34to35(VersionUpgrade):
|
|||
parser["metadata"] = {}
|
||||
parser["metadata"]["setting_version"] = "5"
|
||||
|
||||
# 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.remove_option("info", "send_slice_info")
|
||||
|
||||
result = io.StringIO()
|
||||
parser.write(result)
|
||||
return [filename], [result.getvalue()]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue