Skip to content

Commit

Permalink
Change key for create/rename landmark from 'ok' to '5' (issue #51)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem78 committed May 14, 2022
1 parent 4c03100 commit 25da1ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MapControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ TKeyResponse CMapControl::OfferKeyEventL(const TKeyEvent &aKeyEvent,
return EKeyWasConsumed;
}

case EStdKeyDevice3: // Central key
//case EStdKeyDevice3: // Central key
case '5': // https://github.com/artem78/s60-maps/issues/51
{
static_cast<CS60MapsAppUi*>(iAvkonAppUi)->MapView()->ProcessCommandL(ECreateOrRenameLandmark);
return EKeyWasConsumed;
Expand Down

0 comments on commit 25da1ce

Please sign in to comment.