mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix #1695674 [Add cancel button to Fetch news screen](https://bugs.launchpad.net/calibre/+bug/1695674)
This commit is contained in:
parent
7bf4278868
commit
5a7d965484
@ -366,7 +366,7 @@ class SchedulerDialog(QDialog):
|
|||||||
b.setToolTip(_("Download all scheduled news sources at once"))
|
b.setToolTip(_("Download all scheduled news sources at once"))
|
||||||
b.clicked.connect(self.download_all_clicked)
|
b.clicked.connect(self.download_all_clicked)
|
||||||
self.l.addWidget(b, 3, 0, 1, 1)
|
self.l.addWidget(b, 3, 0, 1, 1)
|
||||||
self.bb = bb = QDialogButtonBox(QDialogButtonBox.Save, self)
|
self.bb = bb = QDialogButtonBox(QDialogButtonBox.Save | QDialogButtonBox.Cancel, self)
|
||||||
bb.accepted.connect(self.accept), bb.rejected.connect(self.reject)
|
bb.accepted.connect(self.accept), bb.rejected.connect(self.reject)
|
||||||
self.download_button = b = bb.addButton(_('&Download now'), bb.ActionRole)
|
self.download_button = b = bb.addButton(_('&Download now'), bb.ActionRole)
|
||||||
b.setIcon(QIcon(I('arrow-down.png'))), b.setVisible(False)
|
b.setIcon(QIcon(I('arrow-down.png'))), b.setVisible(False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user