Skip to content
Permalink
Browse files

Fixed bug 826.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7643 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
StevenB StevenB
StevenB authored and StevenB committed Nov 23, 2007
1 parent 66d22b1 commit fd1a41a25968eb1ba77ea90730e7d062cdff9803
Showing with 7 additions and 2 deletions.
  1. +7 −1 src/app/composer/qgscomposer.cpp
  2. +0 −1 src/app/qgisapp.cpp
@@ -128,9 +128,15 @@ void QgsComposer::open ( void )
if ( mFirstTime ) {
mComposition->createDefault();
mFirstTime = false;
show();
zoomFull(); // zoomFull() does not work properly until we have called show()
}

show();
else{
show(); //make sure the window is displayed - with a saved project, it's possible to not have already called show()
//is that a bug?
raise(); //bring the composer window to the front
}
}

void QgsComposer::removeWidgetChildren ( QWidget *w )
@@ -3103,7 +3103,6 @@ myQPainter.end();
void QgisApp::filePrint()
{
mComposer->open();
mComposer->zoomFull();
}

void QgisApp::saveMapAsImage()

0 comments on commit fd1a41a

Please sign in to comment.
You can’t perform that action at this time.