Skip to content

Commit

Permalink
Restore window geometry on plugin repo download dialog
Browse files Browse the repository at this point in the history
(cherry-picked from 1ac5e29)
  • Loading branch information
nyalldawson committed Jul 24, 2018
1 parent edb63e1 commit e0e823d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/pyplugin_installer/qgsplugininstallerfetchingdialog.py
Expand Up @@ -30,13 +30,17 @@
from .ui_qgsplugininstallerfetchingbase import Ui_QgsPluginInstallerFetchingDialogBase
from .installer_data import repositories

from qgis.gui import QgsGui


class QgsPluginInstallerFetchingDialog(QDialog, Ui_QgsPluginInstallerFetchingDialogBase):
# ----------------------------------------- #

def __init__(self, parent):
QDialog.__init__(self, parent)
self.setupUi(self)
QgsGui.instance().enableAutoGeometryRestore(self)

self.progressBar.setRange(0, len(repositories.allEnabled()) * 100)
self.itemProgress = {}
self.item = {}
Expand Down

0 comments on commit e0e823d

Please sign in to comment.