← Back to team overview

openlp-core team mailing list archive

[Bug 690335] [NEW] The slides of a customs item cannot be reduced to one

 

Public bug reported:

Hello!

trunk: r1146

1) Create a customs item with a few slides (e. g. to slides).
2) Save it.
3) Edit it (select "edit all" and remove the [---] so that you have only one slide left).
4) Try to save it (will not work).

Traceback (most recent call last):
  File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 215, in onEditAllButtonPressed
    self.updateSlideList(self.editSlideForm.getText(), True)
  File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 228, in updateSlideList
    self.slideListView.currentItem().setText(slides[0])
AttributeError: 'NoneType' object has no attribute 'setText'

Cheers

** Affects: openlp
     Importance: Undecided
         Status: New


** Tags: customs

** Description changed:

  Hello!
+ 
+ trunk: r1146
  
  1) Create a customs item with a few slides (e. g. to slides).
  2) Save it.
  3) Edit it (select "edit all" and remove the [---] so that you have only one slide left).
  4) Try to save it (will not work).
  
  Traceback (most recent call last):
-   File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 215, in onEditAllButtonPressed
-     self.updateSlideList(self.editSlideForm.getText(), True)
-   File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 228, in updateSlideList
-     self.slideListView.currentItem().setText(slides[0])
+   File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 215, in onEditAllButtonPressed
+     self.updateSlideList(self.editSlideForm.getText(), True)
+   File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 228, in updateSlideList
+     self.slideListView.currentItem().setText(slides[0])
  AttributeError: 'NoneType' object has no attribute 'setText'
  
  Cheers

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/690335

Title:
  The slides of a customs item cannot be reduced to one

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Hello!

trunk: r1146

1) Create a customs item with a few slides (e. g. to slides).
2) Save it.
3) Edit it (select "edit all" and remove the [---] so that you have only one slide left).
4) Try to save it (will not work).

Traceback (most recent call last):
  File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 215, in onEditAllButtonPressed
    self.updateSlideList(self.editSlideForm.getText(), True)
  File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/custom/forms/editcustomform.py", line 228, in updateSlideList
    self.slideListView.currentItem().setText(slides[0])
AttributeError: 'NoneType' object has no attribute 'setText'

Cheers







Follow ups

References