mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Update Printer manager details pane after removing a printer
CURA-2085
This commit is contained in:
parent
4472e0206e
commit
633e37713c
1 changed files with 8 additions and 1 deletions
|
@ -142,7 +142,14 @@ UM.ManagementPage
|
|||
{
|
||||
id: confirmDialog;
|
||||
object: base.currentItem && base.currentItem.name ? base.currentItem.name : "";
|
||||
onYes: Cura.MachineManager.removeMachine(base.currentItem.id);
|
||||
onYes:
|
||||
{
|
||||
Cura.MachineManager.removeMachine(base.currentItem.id);
|
||||
//Reselect current item to update details panel
|
||||
var index = objectList.currentIndex
|
||||
objectList.currentIndex = -1
|
||||
objectList.currentIndex = index
|
||||
}
|
||||
}
|
||||
|
||||
UM.RenameDialog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue