Skip to content
Permalink
Browse files

Followup cd5642a: Add dialog title, connect dialog ok/cancel buttons

  • Loading branch information
nirvn committed Apr 29, 2019
1 parent cd5642a commit da011375a7bdd187fca1cd9b669ffe230f1553e8
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/symbology/qgsdashspacedialog.cpp
@@ -95,8 +95,11 @@ QgsDashSpaceDialog::QgsDashSpaceDialog( const QVector<qreal> &v, QWidget *parent
mWidget = new QgsDashSpaceWidget( v );
vLayout->addWidget( mWidget );
QDialogButtonBox *bbox = new QDialogButtonBox( QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal );
connect( bbox, &QDialogButtonBox::accepted, this, &QgsDashSpaceDialog::accept );
connect( bbox, &QDialogButtonBox::rejected, this, &QgsDashSpaceDialog::reject );
vLayout->addWidget( bbox );
setLayout( vLayout );
setWindowTitle( tr( "Custom Dash Pattern" ) );
}

QVector<qreal> QgsDashSpaceDialog::dashDotVector() const

0 comments on commit da01137

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