Skip to content
Permalink
Browse files
Fix for #893 - focus whole rows and give table widget focus on dialog…
… open

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7861 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 8, 2008
1 parent a27dde7 commit e237285df7ae9c455a9786fdd571102936a77fec
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgspluginmanager.cpp
@@ -77,9 +77,12 @@ void QgsPluginManager::setTable()
modelPlugins->setHorizontalHeaderItem(1,new QStandardItem(tr("Version")));
modelPlugins->setHorizontalHeaderItem(2,new QStandardItem(tr("Description")));
modelPlugins->setHorizontalHeaderItem(3,new QStandardItem(tr("Library name")));

lstPlugins->setModel(modelPlugins);
// No vertical headers
lstPlugins->verticalHeader()->hide();
lstPlugins->setSelectionBehavior(QAbstractItemView::SelectRows);
lstPlugins->setFocus();
}

void QgsPluginManager::resizeColumnsToContents()

0 comments on commit e237285

Please sign in to comment.