diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml --- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -96,7 +96,7 @@ function stopRedshift() { print('disabling redshift') - redshiftDS.connectedSources.length = 0 + redshiftDS.removeSource(redshiftCommand) redshiftDS.connectedSources.push(redshiftDS.redshiftStopSource) active = false }