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/qgis@12034 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty
borysiasty committed Nov 8, 2009
1 parent 5ab883f commit 91745f0ec3495bd2b8f4b06cc2b253a73b9612c7
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 91745f0

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