mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix #928
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8456 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
98516fd33f
commit
6218fbbfc7
@ -407,16 +407,3 @@ void QgsPluginManager::on_btnClose_clicked()
|
||||
reject();
|
||||
}
|
||||
|
||||
void QgsPluginManager::on_lstPlugins_clicked(const QModelIndex &theIndex )
|
||||
{
|
||||
if (theIndex.column() == 0)
|
||||
{
|
||||
int row = theIndex.row();
|
||||
if ( mModelPlugins->item(row,0)->checkState() == Qt::Checked )
|
||||
{
|
||||
mModelPlugins->item(row,0)->setCheckState(Qt::Unchecked);
|
||||
} else {
|
||||
mModelPlugins->item(row,0)->setCheckState(Qt::Checked);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,8 +56,6 @@ class QgsPluginManager : public QDialog, private Ui::QgsPluginManagerBase
|
||||
//! Sort model by column ascending
|
||||
void sortModel(int );
|
||||
public slots:
|
||||
//! Enable disable checkbox
|
||||
void on_lstPlugins_clicked(const QModelIndex & );
|
||||
//! Load selected plugins and close the dialog
|
||||
void on_btnOk_clicked();
|
||||
//! Select all plugins by setting their checkbox on
|
||||
|
Loading…
x
Reference in New Issue
Block a user