Scale: Fix frequent prompts

pull/11/head
revenmartin 5 years ago
parent 420c7568b1
commit e3a62be46e

@ -321,9 +321,10 @@ ItemPage {
break;
}
rootWindow.showPassiveNotification(qsTr("Need to log in again to take effect"), "short")
appearance.setDevicePixelRatio(value)
if (appearance.devicePixelRatio !== value) {
rootWindow.showPassiveNotification(qsTr("Need to log in again to take effect"), "short")
appearance.setDevicePixelRatio(value)
}
}
}
}

Loading…
Cancel
Save