mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-01 00:05:25 -04:00
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:
parent
987db04224
commit
6104410b81
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user