diff options
author | Papoteur <papoteur@mageia.org> | 2018-12-17 12:49:06 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-12-17 12:49:06 +0100 |
commit | 47e62ed177aabc4c15b572897f6e473963149fbb (patch) | |
tree | 519921d29fae88fad2c9e4a93b5b31ecdb3fbf5a /qml | |
parent | eb4c9712b71aac1de175ac27148b74b6a571f1ee (diff) | |
download | mageiawelcome-47e62ed177aabc4c15b572897f6e473963149fbb.tar mageiawelcome-47e62ed177aabc4c15b572897f6e473963149fbb.tar.gz mageiawelcome-47e62ed177aabc4c15b572897f6e473963149fbb.tar.bz2 mageiawelcome-47e62ed177aabc4c15b572897f6e473963149fbb.tar.xz mageiawelcome-47e62ed177aabc4c15b572897f6e473963149fbb.zip |
RegExp pattern should be initiate before each request
Diffstat (limited to 'qml')
-rw-r--r-- | qml/mw-ui.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index d1b0c6a..4368d48 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -531,10 +531,10 @@ It is highly recommended that you update your system regularly. An Update icon w Component.onCompleted: { var rowCount = appList.count; items.remove(0,rowCount); - var pattern = /featured/g; for( var i = 0;i < rowCount;i++ ) { var entry = appList.get(i); + var pattern = /featured/g; entry.installable = installable.installable(entry.name, entry.inst_repo) if(pattern.test(entry.group) ) { items.insert(entry, "group"); |