Skip to content

Commit

Permalink
Restore window geometry on plugin repo download dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 23, 2018
1 parent 3ec1442 commit 1ac5e29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/pyplugin_installer/qgsplugininstallerfetchingdialog.py
Original file line number Diff line number Diff line change
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 1ac5e29

Please sign in to comment.