Skip to content

Commit

Permalink
Fix for #893 - focus whole rows and give table widget focus on dialog…
Browse files Browse the repository at this point in the history
… open

git-svn-id: http://svn.osgeo.org/qgis/trunk@7861 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 8, 2008
1 parent 0a2a4b1 commit 4204b74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgspluginmanager.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 4204b74

Please sign in to comment.