Plugin manager: set focus to the filter edit box so that it is possible to search immediately after opening the dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk@14456 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2010-10-30 14:32:45 +00:00
parent 987db04224
commit 6104410b81

View File

@ -85,7 +85,6 @@ QgsPluginManager::QgsPluginManager( QgsPythonUtils* pythonUtils, QWidget * paren
//
QPushButton * btnSelectAll = new QPushButton( tr( "&Select All" ) );
QPushButton * btnClearAll = new QPushButton( tr( "&Clear All" ) );
btnSelectAll->setDefault( true );
buttonBox->addButton( btnSelectAll, QDialogButtonBox::ActionRole );
buttonBox->addButton( btnClearAll, QDialogButtonBox::ActionRole );
// connect the slot up to catch when a bookmark is deleted
@ -93,6 +92,8 @@ QgsPluginManager::QgsPluginManager( QgsPythonUtils* pythonUtils, QWidget * paren
// connect the slot up to catch when a bookmark is zoomed to
connect( btnClearAll, SIGNAL( clicked() ), this, SLOT( clearAll() ) );
leFilter->setFocus( Qt::MouseFocusReason );
qRegisterMetaType<QgsDetailedItemData>();
// disable plugin installer button for now until we resolve some problems [MD]