[ui][screeshots] improvement: 'loading' message displays the amount of images being loaded

This commit is contained in:
Vinicius Moreira
2020-11-30 17:26:10 -03:00
parent 8b94abe9cf
commit d79b3daf9b
2 changed files with 4 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ class ScreenshotsDialog(QDialog):
else:
self.img.setPixmap(QPixmap())
self.img.setCursor(QCursor(Qt.WaitCursor))
self.img.setText('{}...'.format(self.i18n['screenshots.image.loading']))
self.img.setText('{} {}/{}...'.format(self.i18n['screenshots.image.loading'], self.img_idx + 1, len(self.screenshots)))
self.progress_bar.setVisible(True)
self.thread_progress.start()