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@7861 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 8, 2008
1 parent 0a2a4b1 commit 4204b745ee7499f26c303c0bc20666d6391ad11e
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 4204b74

Please sign in to comment.