forked from openlp/openlp
Reload list even if cancel pressed
bzr-revno: 2004
This commit is contained in:
commit
93b7a70140
@ -338,8 +338,9 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
def onImportClick(self):
|
def onImportClick(self):
|
||||||
if not hasattr(self, u'importWizard'):
|
if not hasattr(self, u'importWizard'):
|
||||||
self.importWizard = SongImportForm(self, self.plugin)
|
self.importWizard = SongImportForm(self, self.plugin)
|
||||||
if self.importWizard.exec_() == QtGui.QDialog.Accepted:
|
self.importWizard.exec_()
|
||||||
Receiver.send_message(u'songs_load_list')
|
# Run song load as list may have been cancelled but some songs loaded
|
||||||
|
Receiver.send_message(u'songs_load_list')
|
||||||
|
|
||||||
def onExportClick(self):
|
def onExportClick(self):
|
||||||
if not hasattr(self, u'exportWizard'):
|
if not hasattr(self, u'exportWizard'):
|
||||||
|
Loading…
Reference in New Issue
Block a user