Skip to content
Permalink
Browse files
Avoid dialog 'flashing' when opening annotation properties
  • Loading branch information
nyalldawson committed Jul 21, 2016
1 parent 0554f56 commit a798ba0637b25654e323090b4e2ce50ddd7ea3a4
Showing with 0 additions and 4 deletions.
  1. +0 −1 src/app/qgsformannotationdialog.cpp
  2. +0 −1 src/app/qgshtmlannotationdialog.cpp
  3. +0 −1 src/app/qgssvgannotationdialog.cpp
  4. +0 −1 src/app/qgstextannotationdialog.cpp
@@ -27,7 +27,6 @@ QgsFormAnnotationDialog::QgsFormAnnotationDialog( QgsFormAnnotationItem* item, Q
{
setupUi( this );
mEmbeddedWidget = new QgsAnnotationWidget( mItem );
mEmbeddedWidget->show();
mStackedWidget->addWidget( mEmbeddedWidget );
mStackedWidget->setCurrentWidget( mEmbeddedWidget );

@@ -28,7 +28,6 @@ QgsHtmlAnnotationDialog::QgsHtmlAnnotationDialog( QgsHtmlAnnotationItem* item, Q
setupUi( this );
setWindowTitle( tr( "HTML annotation" ) );
mEmbeddedWidget = new QgsAnnotationWidget( mItem );
mEmbeddedWidget->show();
mStackedWidget->addWidget( mEmbeddedWidget );
mStackedWidget->setCurrentWidget( mEmbeddedWidget );

@@ -28,7 +28,6 @@ QgsSvgAnnotationDialog::QgsSvgAnnotationDialog( QgsSvgAnnotationItem* item, QWid
setupUi( this );
setWindowTitle( tr( "SVG annotation" ) );
mEmbeddedWidget = new QgsAnnotationWidget( mItem );
mEmbeddedWidget->show();
mStackedWidget->addWidget( mEmbeddedWidget );
mStackedWidget->setCurrentWidget( mEmbeddedWidget );

@@ -25,7 +25,6 @@ QgsTextAnnotationDialog::QgsTextAnnotationDialog( QgsTextAnnotationItem* item, Q
{
setupUi( this );
mEmbeddedWidget = new QgsAnnotationWidget( mItem );
mEmbeddedWidget->show();
mStackedWidget->addWidget( mEmbeddedWidget );
mStackedWidget->setCurrentWidget( mEmbeddedWidget );
if ( mItem )

0 comments on commit a798ba0

Please sign in to comment.