Skip to content

Commit 40e7da7

Browse files
committed
Fix "QML AnimatedImage: Error Reading Animated Image File" warning.
1 parent 4cbde7e commit 40e7da7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 5 additions & 0 deletions
Loading

scripts/system/libraries/progressDialog.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
99
//
1010

11-
var toolIconUrl = Script.getExternalPath(Script.ExternalPaths.HF_Public, "images/tools/");
11+
// This URL will be used not relative to this script, but relative to the QML that handles the Overlay, so we need an absolute URL.
12+
var toolIconUrl = Script.resolvePath("../assets/images/tools/");
1213

1314
progressDialog = (function () {
1415
var that = {},

0 commit comments

Comments
 (0)