do not delete results when changing from keep to clear

This commit is contained in:
Andreas Preikschat 2010-09-19 18:51:52 +02:00
parent bd5f82096f
commit 17b4335ee4

View File

@ -449,7 +449,6 @@ class BibleMediaItem(MediaManagerItem):
self.AdvancedSecondBibleComboBox.setEnabled(True) self.AdvancedSecondBibleComboBox.setEnabled(True)
if self.AdvancedSecondBibleComboBox.findText(u'') == -1: if self.AdvancedSecondBibleComboBox.findText(u'') == -1:
self.AdvancedSecondBibleComboBox.insertItem(0, u'') self.AdvancedSecondBibleComboBox.insertItem(0, u'')
self.listView.clear()
else: else:
if self.listView.count() != 0: if self.listView.count() != 0:
bitem = self.listView.item(0) bitem = self.listView.item(0)
@ -496,7 +495,6 @@ class BibleMediaItem(MediaManagerItem):
self.QuickSecondBibleComboBox.setEnabled(True) self.QuickSecondBibleComboBox.setEnabled(True)
if self.QuickSecondBibleComboBox.findText(u'') == -1: if self.QuickSecondBibleComboBox.findText(u'') == -1:
self.QuickSecondBibleComboBox.insertItem(0, u'') self.QuickSecondBibleComboBox.insertItem(0, u'')
self.listView.clear()
else: else:
if self.listView.count() != 0: if self.listView.count() != 0:
bitem = self.listView.item(0) bitem = self.listView.item(0)