Skip to content

Commit

Permalink
Plugin manager: set focus to the filter edit box so that it is possib…
Browse files Browse the repository at this point in the history
…le to search immediately after opening the dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk@14456 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Oct 30, 2010
1 parent 987db04 commit 6104410
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgspluginmanager.cpp
Expand Up @@ -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]
Expand Down

0 comments on commit 6104410

Please sign in to comment.