Skip to content
Permalink
Browse files

fix attribute table cell resize when activating an edit widget

git-svn-id: http://svn.osgeo.org/qgis/trunk@12034 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty
borysiasty committed Nov 8, 2009
1 parent 486e4c0 commit 9ad21f7c29f40145f76415663994d5c44aeaab6b
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/app/attributetable/qgsattributetabledelegate.cpp
@@ -63,11 +63,6 @@ QWidget *QgsAttributeTableDelegate::createEditor(
return NULL;

QWidget *widget = QgsAttributeEditor::createAttributeEditor( parent, vl, fieldIdx( index ), index.model()->data( index, Qt::EditRole ) );
widget->adjustSize();

QgsAttributeTableView *tv = dynamic_cast<QgsAttributeTableView *>( parent->parentWidget() );
tv->setRowHeight( index.row(), widget->height() );
tv->setColumnWidth( index.column(), widget->width() );

return widget;
}

0 comments on commit 9ad21f7

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