Comment 1 for bug 1331333

Revision history for this message
Jason (gerlowskija) wrote :

So I took a quick look at this. The line causing trouble (the same one mentioned in the description above) is:

PopupUtils.open(Qt.resolvedUrl("GoToDialog.qml"), goToButton)

The fix looks pretty straightforward. I tried replacing "goToButton" with an ID from some of the high level components (specifically: "mainView" and "pageStack")...and it worked! So the fix for this might be easy.

Before I push up a branch with a fix though, I wanted to double-check my understanding of what that second argument of PopupUtils.open() does. I've looked around a few times for documentation on what the arguments are, but been unsuccessful. My understanding is that the second argument is the parent component for the new pop-up, but that's just a guess. Can anyone confirm that?