Refresh printers when becoming visible

This commit is contained in:
Anton Thomasson 2020-10-10 17:38:53 +02:00
parent ded0d4a2cb
commit c270ac5a93

View file

@ -43,6 +43,16 @@ Page {
}
}
property bool initialized: false
onVisibleChanged: {
if (visible)
{
if(initialized)
page.refreshed()
initialized = true
}
}
signal refreshed()
Component.onCompleted: {