forked from openlp/openlp
head
This commit is contained in:
parent
3cf0be000b
commit
6d66cadb0a
@ -242,7 +242,7 @@ class PathEdit(QtWidgets.QWidget):
|
|||||||
self.line_edit.editingFinished.connect(self.on_line_edit_editing_finished)
|
self.line_edit.editingFinished.connect(self.on_line_edit_editing_finished)
|
||||||
self.update_button_tool_tips()
|
self.update_button_tool_tips()
|
||||||
|
|
||||||
@property
|
@QtCore.pyqtProperty('QVariant')
|
||||||
def path(self):
|
def path(self):
|
||||||
"""
|
"""
|
||||||
A property getter method to return the selected path.
|
A property getter method to return the selected path.
|
||||||
@ -350,7 +350,7 @@ class PathEdit(QtWidgets.QWidget):
|
|||||||
:rtype: None
|
:rtype: None
|
||||||
"""
|
"""
|
||||||
if self._path != path:
|
if self._path != path:
|
||||||
self.path = path
|
self._path = path
|
||||||
self.pathChanged.emit(path)
|
self.pathChanged.emit(path)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user