forked from openlp/openlp
Fix deletion of custom slides
This commit is contained in:
parent
584a0fda0d
commit
11876436a1
@ -190,8 +190,7 @@ class CustomMediaItem(MediaManagerItem):
|
|||||||
if QtWidgets.QMessageBox.question(
|
if QtWidgets.QMessageBox.question(
|
||||||
self, UiStrings().ConfirmDelete,
|
self, UiStrings().ConfirmDelete,
|
||||||
translate('CustomPlugin.MediaItem',
|
translate('CustomPlugin.MediaItem',
|
||||||
'Are you sure you want to delete the %n selected custom slide(s)?',
|
'Are you sure you want to delete the "%d" selected custom slide(s)?') %len(items),
|
||||||
'', QtCore.QCoreApplication.CodecForTr, len(items)),
|
|
||||||
QtWidgets.QMessageBox.StandardButtons(
|
QtWidgets.QMessageBox.StandardButtons(
|
||||||
QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No),
|
QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No),
|
||||||
QtWidgets.QMessageBox.Yes) == QtWidgets.QMessageBox.No:
|
QtWidgets.QMessageBox.Yes) == QtWidgets.QMessageBox.No:
|
||||||
|
Loading…
Reference in New Issue
Block a user