Fix deprecation message for :cancel-download.
This commit is contained in:
parent
4436941d97
commit
38d34e1dea
@ -831,7 +831,7 @@ class DownloadManager(QAbstractListModel):
|
|||||||
self.remove_item(download)
|
self.remove_item(download)
|
||||||
|
|
||||||
@cmdutils.register(instance='download-manager', scope='window',
|
@cmdutils.register(instance='download-manager', scope='window',
|
||||||
deprecated="Use :download instead.")
|
deprecated="Use :download-cancel instead.")
|
||||||
def cancel_download(self, count: {'special': 'count'}=1):
|
def cancel_download(self, count: {'special': 'count'}=1):
|
||||||
"""Cancel the first/[count]th download.
|
"""Cancel the first/[count]th download.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user