Skip to content

Commit

Permalink
[Plugin Installer] fix #8410
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Aug 4, 2013
1 parent 018168c commit 018e958
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/pyplugin_installer/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ def editRepository(self, reposName):
""" edit repository connection """
if not reposName:
return
reposName = reposName.decode( 'utf-8' )
checkState={False:Qt.Unchecked,True:Qt.Checked}
dlg = QgsPluginInstallerRepositoryDialog( iface.mainWindow() )
dlg.editName.setText(reposName)
Expand Down Expand Up @@ -486,6 +487,7 @@ def deleteRepository(self, reposName):
""" delete repository connection """
if not reposName:
return
reposName = reposName.decode( 'utf-8' )
settings = QSettings()
settings.beginGroup(reposGroup)
if settings.value(reposName+"/url", "", type=unicode) == officialRepo[1]:
Expand Down

0 comments on commit 018e958

Please sign in to comment.