Only list configurations if we're still connected

Otherwise there are no available configurations, so no syncing.
This commit is contained in:
Ghostkeeper 2018-03-22 17:30:15 +01:00
parent 30b75c7988
commit 3eb50cf37e
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A

View File

@ -21,7 +21,10 @@ Column
{
// FIXME For now the model should be removed and then created again, otherwise changes in the printer don't automatically update the UI
configurationList.model = []
configurationList.model = outputDevice.uniqueConfigurations
if(outputDevice)
{
configurationList.model = outputDevice.uniqueConfigurations
}
}
Label