mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Count the number of packages which have a license to display
CURA-7155
This commit is contained in:
parent
eec7d2f0cd
commit
a02b753d53
2 changed files with 28 additions and 20 deletions
|
@ -71,6 +71,7 @@ class LicenseModel(QObject):
|
|||
self._updateDialogTitle()
|
||||
|
||||
def _updateDialogTitle(self):
|
||||
self._dialogTitle = catalog.i18nc("@title:window", "Plugin License Agreement ({}/{})"
|
||||
.format(self._current_page_idx + 1, self._page_count))
|
||||
self._dialogTitle = catalog.i18nc("@title:window", "Plugin License Agreement")
|
||||
if self._page_count > 1:
|
||||
self._dialogTitle = self._dialogTitle + " ({}/{})".format(self._current_page_idx + 1, self._page_count)
|
||||
self.dialogTitleChanged.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue