mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 18:36:02 +08:00
Also use central pre-heat time when sending time to printer
Oops. Contributes to issue CURA-3161.
This commit is contained in:
parent
1a902b21bb
commit
8e25a1c73f
@ -401,7 +401,7 @@ Column
|
||||
|
||||
onClicked:
|
||||
{
|
||||
connectedPrinter.preheatBed(preheatTemperatureInput.text, 900);
|
||||
connectedPrinter.preheatBed(preheatTemperatureInput.text, connectedPrinter.preheatBedTimeout);
|
||||
var now = new Date();
|
||||
var end_time = new Date();
|
||||
end_time.setTime(now.getTime() + connectedPrinter.preheatBedTimeout * 1000); //*1000 because time is in milliseconds here.
|
||||
|
Loading…
x
Reference in New Issue
Block a user