mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 00:28:59 +08:00
Pressing enter on project window will now open the file dialog to save instead of just closing the window
This commit is contained in:
parent
a7a95c4c7d
commit
c036912752
@ -24,6 +24,10 @@ UM.Dialog
|
||||
|
||||
signal yes();
|
||||
|
||||
function accept() { // pressing enter will call this function
|
||||
close();
|
||||
yes();
|
||||
}
|
||||
|
||||
onClosing:
|
||||
{
|
||||
@ -290,4 +294,4 @@ UM.Dialog
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user