From 3eb50cf37e8fbcbb7b50fd2c744d04c801eddc4b Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 22 Mar 2018 17:30:15 +0100 Subject: [PATCH] Only list configurations if we're still connected Otherwise there are no available configurations, so no syncing. --- .../qml/Menus/ConfigurationMenu/ConfigurationListView.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml b/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml index 331d78ead9..7aaf87b4df 100644 --- a/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml +++ b/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml @@ -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