Skip to content

Commit

Permalink
Followup to be3bad3
Browse files Browse the repository at this point in the history
- Simpler means of bringing composer windows to front, if manager dialog is going to be closed
  • Loading branch information
dakcarto committed Feb 21, 2013
1 parent e9035d7 commit 417e119
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/app/composer/qgscomposermanager.cpp
Expand Up @@ -172,16 +172,7 @@ void QgsComposerManager::show_clicked()
c = it.value();
if ( c )
{
bool shown = c->isVisible();
c->show();
c->activate();
c->stackUnder( this );
raise();
activateWindow();
if ( !shown )
{
c->on_mActionZoomAll_triggered();
}
}
}
}
Expand Down Expand Up @@ -216,11 +207,7 @@ void QgsComposerManager::show_clicked()

if ( c )
{
c->show();
c->activate();
c->stackUnder( this );
raise();
activateWindow();
}
#endif //0
close();
Expand Down

0 comments on commit 417e119

Please sign in to comment.