Skip to content

Commit 2f7f886

Browse files
author
timlinux
committedAug 18, 2008
Set extents / pos label tooltip in status bar appropriately to context
git-svn-id: http://svn.osgeo.org/qgis/trunk@9069 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 65f678a commit 2f7f886

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,6 @@ void QgisApp::createStatusBar()
11351135
mCoordsLabel->setWhatsThis(tr("Shows the map coordinates at the "
11361136
"current cursor position. The display is continuously updated "
11371137
"as the mouse is moved."));
1138-
mCoordsLabel->setToolTip(tr("Map coordinates at mouse cursor position"));
11391138
statusBar()->addPermanentWidget(mCoordsLabel, 0);
11401139
// add a label to show current scale
11411140
mScaleLabel = new QLabel(QString(),statusBar());
@@ -4491,12 +4490,14 @@ void QgisApp::extentsViewToggled(bool theFlag)
44914490
{
44924491
//extents view mode!
44934492
mToggleExtentsViewButton->setIcon(getThemeIcon("extents.png"));
4493+
mCoordsLabel->setToolTip(tr("Map coordinates for the current view extents"));
44944494
showExtents();
44954495
}
44964496
else
44974497
{
44984498
//mouse cursor pos view mode!
44994499
mToggleExtentsViewButton->setIcon(getThemeIcon("tracking.png"));
4500+
mCoordsLabel->setToolTip(tr("Map coordinates at mouse cursor position"));
45004501
}
45014502
}
45024503

0 commit comments

Comments
 (0)
Please sign in to comment.