Skip to content

Commit 91745f0

Browse files
author
borysiasty
committed
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
1 parent 5ab883f commit 91745f0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/app/attributetable/qgsattributetabledelegate.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ QWidget *QgsAttributeTableDelegate::createEditor(
6363
return NULL;
6464

6565
QWidget *widget = QgsAttributeEditor::createAttributeEditor( parent, vl, fieldIdx( index ), index.model()->data( index, Qt::EditRole ) );
66-
widget->adjustSize();
67-
68-
QgsAttributeTableView *tv = dynamic_cast<QgsAttributeTableView *>( parent->parentWidget() );
69-
tv->setRowHeight( index.row(), widget->height() );
70-
tv->setColumnWidth( index.column(), widget->width() );
7166

7267
return widget;
7368
}

0 commit comments

Comments
 (0)