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):
|
def onAddEditClick(self):
|
||||||
if not self.ListView.selectedIndexes() and not self.remoteTriggered:
|
if not self.ListView.selectedIndexes() and not self.remoteTriggered:
|
||||||
QtGui.QMessageBox.information(self,
|
QtGui.QMessageBox.information(self,
|
||||||
self.trUtf8('No items selected...'),
|
self.trUtf8('No items selected'),
|
||||||
self.trUtf8('You must select one or more items'))
|
self.trUtf8('You must select one or more items'))
|
||||||
else:
|
else:
|
||||||
log.debug(self.PluginNameShort + u' Add requested')
|
log.debug(self.PluginNameShort + u' Add requested')
|
||||||
@ -442,4 +442,4 @@ class MediaManagerItem(QtGui.QWidget):
|
|||||||
if self.generateSlideData(service_item):
|
if self.generateSlideData(service_item):
|
||||||
return service_item
|
return service_item
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
@ -155,7 +155,7 @@ class ImageMediaItem(MediaManagerItem):
|
|||||||
def onReplaceClick(self):
|
def onReplaceClick(self):
|
||||||
if not self.ListView.selectedIndexes():
|
if not self.ListView.selectedIndexes():
|
||||||
QtGui.QMessageBox.information(self,
|
QtGui.QMessageBox.information(self,
|
||||||
self.trUtf8('No item selected...'),
|
self.trUtf8('No item selected'),
|
||||||
self.trUtf8('You must select one item'))
|
self.trUtf8('You must select one item'))
|
||||||
items = self.ListView.selectedIndexes()
|
items = self.ListView.selectedIndexes()
|
||||||
for item in items:
|
for item in items:
|
||||||
@ -165,4 +165,4 @@ class ImageMediaItem(MediaManagerItem):
|
|||||||
self.parent.maindisplay.addImageWithText(frame)
|
self.parent.maindisplay.addImageWithText(frame)
|
||||||
|
|
||||||
def onPreviewClick(self):
|
def onPreviewClick(self):
|
||||||
MediaManagerItem.onPreviewClick(self)
|
MediaManagerItem.onPreviewClick(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user