diff --git a/gns3/http_client.py b/gns3/http_client.py index 1c215aabd..2af2e0375 100644 --- a/gns3/http_client.py +++ b/gns3/http_client.py @@ -76,9 +76,11 @@ def _updateProgress(self, bytes_sent: int, bytes_total: int) -> None: """ if bytes_total > 0: - if not self._progress.maximum(): - self._progress.setMaximum(100) - self._progress.setValue(int(100 * bytes_sent / bytes_total)) + pass + # FIXME the code below makes the progress bar to be stuck sometimes + # if not self._progress.maximum(): + # self._progress.setMaximum(100) + # self._progress.setValue(int(100 * bytes_sent / bytes_total)) def waitForReply(self, reply: QtNetwork.QNetworkReply, uploading: bool = False, timeout=60) -> None: """