[SailfishDevel] Infinite (?) PushUpMenu

Antonio Mancini ziobilly94 at gmail.com
Sun Feb 15 18:52:44 UTC 2015


Hi, i have a simple PushUpMenu in my app and it behaves strangely, i can
push even if there are no more items. This is a screenshot:
https://www.dropbox.com/s/2z0owyi5m6rhuua/Screenshot-15-02-15-19-41-30.png?dl=0

My page is structured like this:



Page {

    id: page
    SilicaFlickable {
          id: root

     PushUpMenu {

            id:pushUpMenu

            MenuItem {

                id: pauseMenuItem

                text: qsTr("Unpause")

                onClicked: functions.pause()

            }

            MenuItem {

                id: saveMenuItem

                text: qsTr("Save Game")

                onClicked: functions.saveGame()

            }

                 }

    }

}


Can someone help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150215/51ffa980/attachment.html>


More information about the Devel mailing list