Fix #2052500 [[Enhancement] Unnessesary space in Edit book window title](https://bugs.launchpad.net/calibre/+bug/2052500)

This commit is contained in:
Kovid Goyal 2024-02-06 15:53:59 +05:30
parent 2132e31339
commit 5f8930ab31
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -415,7 +415,7 @@ class MetadataSingleDialogBase(QDialog):
if len(title) > 50: if len(title) > 50:
title = title[:50] + '\u2026' title = title[:50] + '\u2026'
self.setWindowTitle(BASE_TITLE + ' - ' + self.setWindowTitle(BASE_TITLE + ' - ' +
title + ' - ' + title + ' -' +
_(' [%(num)d of %(tot)d]')%dict(num=self.current_row+1, _(' [%(num)d of %(tot)d]')%dict(num=self.current_row+1,
tot=len(self.row_list))) tot=len(self.row_list)))