Skip to content

Commit

Permalink
Followup cc94578
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 9, 2014
1 parent a3094cb commit 7a92293
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermap.cpp
Expand Up @@ -133,7 +133,7 @@ void QgsComposerMap::init()

void QgsComposerMap::updateToolTip()
{
setToolTip( tr( "Map %1" ).arg( mId ) );
setToolTip( tr( "Map %1" ).arg( mId ) );
}

void QgsComposerMap::adjustExtentToItemShape( double itemWidth, double itemHeight, QgsRectangle& extent ) const
Expand Down
2 changes: 2 additions & 0 deletions src/core/composer/qgscomposermap.h
Expand Up @@ -906,6 +906,8 @@ class CORE_EXPORT QgsComposerMap : public QgsComposerItem
double mAtlasMargin;

void init();

/**Resets the item tooltip to reflect current map id*/
void updateToolTip();

/**Returns a list of the layers to render for this map item*/
Expand Down

0 comments on commit 7a92293

Please sign in to comment.