Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37114

[regression] javascript array binding not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.2.1
    • None
    • Qt 5.2.1

      Works in 5.0.2, messes your settings in 5.2.1

      import QtQuick 2.2
      import QtQuick.Controls 1.0
      import QtQuick.Window 2.1
      import GSettings 1.0
      
      Window {
          id:window;
          title:qsTr("TEST")
          width:640 ;height:480;
          color:"black"
          MouseArea{anchors.fill: parent;onClicked: window.testCase()}
      
      function testCase()
      {
          var a = test.activePlugins
            a.push('vier')
          test.activePlugins = a
      
          console.log(a)
          console.log(test.activePlugins)
      }
          GSettings {id:test;
              schema.id:"org.gnome.gedit.plugins";
              schema.path:"/org/gnome/gedit/plugins/";
          }
      
      }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aalpert Alan Alpert
            damianatorrpm Damian Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes