mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 03:09:04 +08:00
Changing to a printer with user settings doesn't trigger keep/discard popup anymore
Fixes #2499 CURA-4384
This commit is contained in:
parent
e33528538f
commit
7a85dc28d7
@ -818,7 +818,7 @@ UM.MainWindow
|
|||||||
|
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
target: Printer
|
target: CuraApplication
|
||||||
onShowDiscardOrKeepProfileChanges:
|
onShowDiscardOrKeepProfileChanges:
|
||||||
{
|
{
|
||||||
discardOrKeepProfileChangesDialog.show()
|
discardOrKeepProfileChangesDialog.show()
|
||||||
|
@ -292,7 +292,8 @@ Item
|
|||||||
}
|
}
|
||||||
|
|
||||||
onValueChanged: {
|
onValueChanged: {
|
||||||
if(Cura.MachineManager.activeMachine != null)
|
// Only change if an active machine is set and the slider is visible at all.
|
||||||
|
if(Cura.MachineManager.activeMachine != null && visible)
|
||||||
{
|
{
|
||||||
//Prevent updating during view initializing. Trigger only if the value changed by user
|
//Prevent updating during view initializing. Trigger only if the value changed by user
|
||||||
if(qualitySlider.value != qualityModel.activeQualityId)
|
if(qualitySlider.value != qualityModel.activeQualityId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user