Skip to content
Permalink
Browse files
Save geometry for data defined dialog
  • Loading branch information
NathanW2 committed May 22, 2014
1 parent 83a9c65 commit af5f1aa9f85f19187631d4d0f44b93e8573427b2
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/gui/symbology-ng/qgsdatadefinedsymboldialog.cpp
@@ -46,11 +46,15 @@ QgsDataDefinedSymbolDialog::QgsDataDefinedSymbolDialog( const QList< DataDefined

for ( int c = 0; c != mTreeWidget->columnCount() - 1; c++ )
mTreeWidget->resizeColumnToContents( c );

QSettings settings;
restoreGeometry( settings.value( "/Windows/QgsDataDefinedSymbolDialog/geometry" ).toByteArray() );
}

QgsDataDefinedSymbolDialog::~QgsDataDefinedSymbolDialog()
{

QSettings settings;
settings.setValue( "/Windows/QgsDataDefinedSymbolDialog/geometry", saveGeometry() );
}

QMap< QString, QString > QgsDataDefinedSymbolDialog::dataDefinedProperties() const

0 comments on commit af5f1aa

Please sign in to comment.