Skip to content
Permalink
Browse files

Plugin manager: set focus to the filter edit box so that it is possib…

…le to search immediately after opening the dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14456 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Oct 30, 2010
1 parent 52108c1 commit eb46ea227625b6c269a0f440d70d30f31cc29577
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgspluginmanager.cpp
@@ -85,14 +85,15 @@ 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
connect( btnSelectAll, SIGNAL( clicked() ), this, SLOT( selectAll() ) );
// 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]

0 comments on commit eb46ea2

Please sign in to comment.
You can’t perform that action at this time.