forked from openlp/openlp
Merge branch 'issue-925-no-attr-current_hide_mode' into 'master'
Prevent an exception occurring due to a variable not being declared yet Closes #925 See merge request openlp/openlp!373
This commit is contained in:
commit
bd22fef304
@ -274,12 +274,12 @@ class SlideController(QtWidgets.QWidget, LogMixin, RegistryProperties):
|
|||||||
self.toolbar.addAction(self.next_item)
|
self.toolbar.addAction(self.next_item)
|
||||||
self.toolbar.addSeparator()
|
self.toolbar.addSeparator()
|
||||||
self.controller_type = DisplayControllerType.Preview
|
self.controller_type = DisplayControllerType.Preview
|
||||||
|
self._current_hide_mode = None
|
||||||
if self.is_live:
|
if self.is_live:
|
||||||
self.controller_type = DisplayControllerType.Live
|
self.controller_type = DisplayControllerType.Live
|
||||||
self.slide_changed_time = datetime.datetime.now()
|
self.slide_changed_time = datetime.datetime.now()
|
||||||
self.fetching_screenshot = False
|
self.fetching_screenshot = False
|
||||||
self.screen_capture = None
|
self.screen_capture = None
|
||||||
self._current_hide_mode = None
|
|
||||||
# Hide Menu
|
# Hide Menu
|
||||||
self.hide_menu = QtWidgets.QToolButton(self.toolbar)
|
self.hide_menu = QtWidgets.QToolButton(self.toolbar)
|
||||||
self.hide_menu.setObjectName('hide_menu')
|
self.hide_menu.setObjectName('hide_menu')
|
||||||
|
Loading…
Reference in New Issue
Block a user