~trb143/openlp/more_media

« back to all changes in this revision

Viewing changes to openlp/plugins/presentations/lib/presentationtab.py

  • Committer: Tim Bentley
  • Date: 2019-06-11 18:08:21 UTC
  • mfrom: (2876.1.2 openlp)
  • Revision ID: tim.bentley@gmail.com-20190611180821-m0viu2wi93p2o97k
Head

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 
128
128
    def set_controller_text(self, checkbox, controller):
129
129
        if checkbox.isEnabled():
130
 
            checkbox.setText(controller.name)
 
130
            checkbox.setText(controller.display_name)
131
131
        else:
132
132
            checkbox.setText(translate('PresentationPlugin.PresentationTab',
133
 
                                       '{name} (unavailable)').format(name=controller.name))
 
133
                                       '{name} (unavailable)').format(name=controller.display_name))
134
134
 
135
135
    def load(self):
136
136
        """