Skip to content

Commit

Permalink
Fix #7196, composer manager doesn't close when showing a chosen composer
Browse files Browse the repository at this point in the history
- Fix zoom-to-full when composer window is shown
  • Loading branch information
dakcarto committed Feb 20, 2013
1 parent d6cd228 commit be3bad3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/composer/qgscomposermanager.cpp
Expand Up @@ -172,7 +172,7 @@ void QgsComposerManager::show_clicked()
c = it.value();
if ( c )
{
bool shown = isVisible();
bool shown = c->isVisible();
c->show();
c->activate();
c->stackUnder( this );
Expand Down Expand Up @@ -223,6 +223,7 @@ void QgsComposerManager::show_clicked()
activateWindow();
}
#endif //0
close();
}

void QgsComposerManager::rename_clicked()
Expand Down

0 comments on commit be3bad3

Please sign in to comment.