forked from openlp/openlp
Remove ...s
This commit is contained in:
parent
b8f9f21b5d
commit
afc1fbde17
@ -410,7 +410,7 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
def onAddEditClick(self):
|
||||
if not self.ListView.selectedIndexes() and not self.remoteTriggered:
|
||||
QtGui.QMessageBox.information(self,
|
||||
self.trUtf8('No items selected...'),
|
||||
self.trUtf8('No items selected'),
|
||||
self.trUtf8('You must select one or more items'))
|
||||
else:
|
||||
log.debug(self.PluginNameShort + u' Add requested')
|
||||
@ -442,4 +442,4 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
if self.generateSlideData(service_item):
|
||||
return service_item
|
||||
else:
|
||||
return None
|
||||
return None
|
||||
|
@ -155,7 +155,7 @@ class ImageMediaItem(MediaManagerItem):
|
||||
def onReplaceClick(self):
|
||||
if not self.ListView.selectedIndexes():
|
||||
QtGui.QMessageBox.information(self,
|
||||
self.trUtf8('No item selected...'),
|
||||
self.trUtf8('No item selected'),
|
||||
self.trUtf8('You must select one item'))
|
||||
items = self.ListView.selectedIndexes()
|
||||
for item in items:
|
||||
@ -165,4 +165,4 @@ class ImageMediaItem(MediaManagerItem):
|
||||
self.parent.maindisplay.addImageWithText(frame)
|
||||
|
||||
def onPreviewClick(self):
|
||||
MediaManagerItem.onPreviewClick(self)
|
||||
MediaManagerItem.onPreviewClick(self)
|
||||
|
Loading…
Reference in New Issue
Block a user