Fix mistyped enum values.
Please test as code using it might behave differently now (menus aligned left before while horizontally centered on the parent now)
This commit is contained in:
parent
804d490acd
commit
5453bbc801
@ -51,7 +51,7 @@ Item {
|
|||||||
function open()
|
function open()
|
||||||
{
|
{
|
||||||
var parent = root.visualParent ? root.visualParent : root.parent
|
var parent = root.visualParent ? root.visualParent : root.parent
|
||||||
var pos = dialog.popupPosition(parent, Qt.alignCenter)
|
var pos = dialog.popupPosition(parent, Qt.AlignCenter)
|
||||||
dialog.x = pos.x
|
dialog.x = pos.x
|
||||||
dialog.y = pos.y
|
dialog.y = pos.y
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ Item {
|
|||||||
|
|
||||||
function open()
|
function open()
|
||||||
{
|
{
|
||||||
var pos = dialog.popupPosition(null, Qt.alignCenter)
|
var pos = dialog.popupPosition(null, Qt.AlignCenter)
|
||||||
dialog.x = pos.x
|
dialog.x = pos.x
|
||||||
dialog.y = pos.y
|
dialog.y = pos.y
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ Item {
|
|||||||
|
|
||||||
function open()
|
function open()
|
||||||
{
|
{
|
||||||
var pos = dialog.popupPosition(null, Qt.alignCenter)
|
var pos = dialog.popupPosition(null, Qt.AlignCenter)
|
||||||
dialog.x = pos.x
|
dialog.x = pos.x
|
||||||
dialog.y = pos.y
|
dialog.y = pos.y
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user