merge r9919 and r9920 from trunk to 1.0 branch

git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@9936 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2009-01-07 10:45:53 +00:00
parent fc7991a5c4
commit 8ef833ac4d

View File

@ -1621,6 +1621,11 @@ void QgisApp::addDockWidget( Qt::DockWidgetArea theArea, QDockWidget * thepDockW
setCorner( Qt::BottomRightCorner, Qt::RightDockWidgetArea );
// add to the Panel submenu
mPanelMenu->addAction( thepDockWidget->toggleViewAction() );
thepDockWidget->show();
// refresh the map canvas
mMapCanvas->refresh();
}
QToolBar *QgisApp::addToolBar( QString name )