mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-23 02:24:24 +08:00
Error is displayed on Cura screen
CURA-11289
This commit is contained in:
parent
608c2344c5
commit
a309c9efdb
@ -1839,6 +1839,9 @@ class CuraApplication(QtApplication):
|
|||||||
|
|
||||||
def on_error(*args, **kwargs):
|
def on_error(*args, **kwargs):
|
||||||
Logger.log("w", "Could not download file from {0}".format(model_url.url()))
|
Logger.log("w", "Could not download file from {0}".format(model_url.url()))
|
||||||
|
Message("Could not download file: " + str(model_url.url()),
|
||||||
|
title= "Loading Model failed",
|
||||||
|
message_type=Message.MessageType.ERROR).show()
|
||||||
return
|
return
|
||||||
|
|
||||||
self.getHttpRequestManager().get(
|
self.getHttpRequestManager().get(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user