Skip to content
Permalink
Browse files

Restore window geometry on plugin repo download dialog

  • Loading branch information
nyalldawson committed Jul 23, 2018
1 parent 3ec1442 commit 1ac5e29da655a134d8db1c1b2a2b9a3996244ab6
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/pyplugin_installer/qgsplugininstallerfetchingdialog.py
@@ -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 = {}

0 comments on commit 1ac5e29

Please sign in to comment.
You can’t perform that action at this time.