Skip to content

Commit

Permalink
Move properties entry in context menu to bottom for consistancy with …
Browse files Browse the repository at this point in the history
…'normal' gui standards

git-svn-id: http://svn.osgeo.org/qgis/trunk@2351 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 27, 2004
1 parent 871634c commit 86d1a1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/qgsmaplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ void QgsMapLayer::initContextMenu(QgisApp * app)
popMenu->insertItem(tr("&Zoom to extent of selected layer"), app, SLOT(zoomToLayerExtent()));
popMenu->insertSeparator();

popMenu->insertItem(tr("&Properties"), this, SLOT(showLayerProperties()));


app->actionInOverview->addTo( popMenu );

Expand All @@ -504,7 +504,9 @@ void QgsMapLayer::initContextMenu(QgisApp * app)

// now give the sub-classes a chance to tailor the context menu
initContextMenu_( app );

//properties goes on bottom of menu for consistency with normal ui standards
//e.g. kde stuff
popMenu->insertItem(tr("&Properties"), this, SLOT(showLayerProperties()));
} // QgsMapLayer::initContextMenu(QgisApp * app)

void QgsMapLayer::keyPressed ( QKeyEvent * e )
Expand Down

0 comments on commit 86d1a1f

Please sign in to comment.