Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
postgres provider: fix combobox checkboxes on linux
  • Loading branch information
jef-n committed Sep 4, 2015
1 parent c5cce4b commit e6f4fa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/postgres/qgspgsourceselect.cpp
Expand Up @@ -84,6 +84,7 @@ QWidget *QgsPgSourceSelectDelegate::createEditor( QWidget *parent, const QStyleO
{ {
QStandardItem *item = new QStandardItem( value ); QStandardItem *item = new QStandardItem( value );
item->setFlags( Qt::ItemIsUserCheckable | Qt::ItemIsEnabled ); item->setFlags( Qt::ItemIsUserCheckable | Qt::ItemIsEnabled );
item->setCheckable( true );
item->setData( Qt::Unchecked, Qt::CheckStateRole ); item->setData( Qt::Unchecked, Qt::CheckStateRole );
model->setItem( row++, 0, item ); model->setItem( row++, 0, item );
} }
Expand Down

0 comments on commit e6f4fa6

Please sign in to comment.