Skip to content

Commit

Permalink
fix #2852
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@13853 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 30, 2010
1 parent 985c9e7 commit 6ddd5e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4866,7 +4866,7 @@ void QgisApp::showGpsTool()
}
else
{
mpGpsDock->toggleViewAction();
mpGpsDock->setVisible( mpGpsDock->isHidden() );
}
#endif
}
Expand All @@ -4885,15 +4885,15 @@ void QgisApp::showTileScale()
mPanelMenu->addAction( mpTileScaleDock->toggleViewAction() );
// now add our widget to the dock - ownership of the widget is passed to the dock
mpTileScaleDock->setWidget( mpTileScaleWidget );
mpTileScaleWidget->show();
mpTileScaleDock->show();

connect( mMapLegend, SIGNAL( currentLayerChanged( QgsMapLayer* ) ),
mpTileScaleWidget, SLOT( layerChanged( QgsMapLayer* ) ) );

}
else
{
mpTileScaleDock->toggleViewAction();
mpTileScaleDock->setVisible( mpTileScaleDock->isHidden() );
}
}

Expand Down

0 comments on commit 6ddd5e9

Please sign in to comment.