Changeset 0f1fff2


Ignore:
Timestamp:
03/31/12 18:38:02 (3 years ago)
Author:
Martin Kolman <martin.kolman@…>
Branches:
master
Children:
7edd7e1
Parents:
3b87474
git-author:
Martin Kolman <martin.kolman@…> (03/31/12 18:38:02)
git-committer:
Martin Kolman <martin.kolman@…> (03/31/12 18:38:02)
Message:

toggle the centering button correctly when centering state changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/gui_modules/gui_qml/qml/MapPage.qml

    r3b87474 r0f1fff2  
    4141        onDrag : { 
    4242            // disable map centering once drag is detected 
     43            console.log("DRAGGGGG") 
    4344            tabMap.center = false 
    4445        } 
     
    181182            height: parent.parent.buttonSize 
    182183            checked : tabMap.center 
    183             checkable: true 
     184            /* 
     185            checked is bound to tabMap.center, no need to toggle 
     186            it's value when the button is pressed 
     187            */ 
     188            checkable: false 
    184189            onClicked: { 
    185190                // toggle map centering 
Note: See TracChangeset for help on using the changeset viewer.