mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 15:51:12 -07:00
Merge branch '15.10' of https://github.com/Ultimaker/Cura into 15.10
This commit is contained in:
commit
4ffbfcf69f
2 changed files with 19 additions and 9 deletions
|
|
@ -649,6 +649,11 @@ UM.MainWindow
|
|||
|
||||
onAccepted:
|
||||
{
|
||||
//Because several implementations of the file dialog only update the folder
|
||||
//when it is explicitly set.
|
||||
var f = folder;
|
||||
folder = f;
|
||||
|
||||
UM.MeshFileHandler.readLocalFile(fileUrl)
|
||||
openDialog.sendMeshName(fileUrl.toString())
|
||||
}
|
||||
|
|
@ -683,18 +688,22 @@ UM.MainWindow
|
|||
Component.onCompleted:
|
||||
{
|
||||
UM.Theme.load(UM.Resources.getPath(UM.Resources.Themes, "cura"))
|
||||
visible = true;
|
||||
addMachineTimer.start();
|
||||
}
|
||||
|
||||
Timer
|
||||
{
|
||||
id: addMachineTimer;
|
||||
id: startupTimer;
|
||||
interval: 100;
|
||||
repeat: false;
|
||||
running: true;
|
||||
onTriggered:
|
||||
{
|
||||
if(UM.MachineManager.activeMachineInstance == "")
|
||||
if(!base.visible)
|
||||
{
|
||||
base.visible = true;
|
||||
restart();
|
||||
}
|
||||
else if(UM.MachineManager.activeMachineInstance == "")
|
||||
{
|
||||
addMachineWizard.firstRun = true;
|
||||
addMachineWizard.open();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue