Commit 5feba6ad authored by Joel Collins's avatar Joel Collins
Browse files

Fixed GPU preview requests happening regardless of settings

parent 368f86c4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -259,7 +259,10 @@ export default {

    previewRequest: function(state) {
      // If requesting starting the stream, but this component is inactive, skip
      if (this.$store.getters.ready == true) {
      if (
        this.$store.getters.ready == true &&
        this.$store.state.globalSettings.autoGpuPreview == true
      ) {
        var requestUri = null;
        // Create URI
        if (state == true) {