mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Add timeout for manual IP requests
CURA-6483
This commit is contained in:
parent
9868dee474
commit
b22073e170
2 changed files with 24 additions and 1 deletions
|
|
@ -26,6 +26,15 @@ Item
|
|||
property var discoveredPrinter: null
|
||||
property var isPrinterDiscovered: discoveredPrinter != null
|
||||
|
||||
// Make sure to cancel the current request when this page closes.
|
||||
onVisibleChanged:
|
||||
{
|
||||
if (!visible)
|
||||
{
|
||||
CuraApplication.getDiscoveredPrintersModel().cancelCurrentManualDeviceRequest()
|
||||
}
|
||||
}
|
||||
|
||||
Label
|
||||
{
|
||||
id: titleLabel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue