mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Blur settings upon discarding current settings
Otherwise the currently selected setting doesn't get discarded. Contributes to issue CURA-2866.
This commit is contained in:
parent
0db7cf2453
commit
32653c2df4
1 changed files with 5 additions and 1 deletions
|
@ -131,7 +131,11 @@ Item
|
|||
id: resetProfileAction;
|
||||
enabled: Cura.MachineManager.hasUserSettings
|
||||
text: catalog.i18nc("@action:inmenu menubar:profile","&Discard current settings");
|
||||
onTriggered: Cura.ContainerManager.clearUserContainers();
|
||||
onTriggered:
|
||||
{
|
||||
forceActiveFocus();
|
||||
Cura.ContainerManager.clearUserContainers();
|
||||
}
|
||||
}
|
||||
|
||||
Action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue