mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:45:56 +08: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
@ -92,6 +92,11 @@ class VersionUpgrade34to35(VersionUpgrade):
|
|||||||
parser["metadata"] = {}
|
parser["metadata"] = {}
|
||||||
parser["metadata"]["setting_version"] = "5"
|
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()
|
result = io.StringIO()
|
||||||
parser.write(result)
|
parser.write(result)
|
||||||
return [filename], [result.getvalue()]
|
return [filename], [result.getvalue()]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user