forked from openlp/openlp
Missed db reference in edit page
This commit is contained in:
parent
7545fb534f
commit
c789d1c0ed
@ -34,3 +34,9 @@ __pycache__
|
|||||||
*.dll
|
*.dll
|
||||||
.directory
|
.directory
|
||||||
*.kate-swp
|
*.kate-swp
|
||||||
|
# Git files
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
# Rejected diff's
|
||||||
|
*.rej
|
||||||
|
*.~\?~
|
||||||
|
@ -492,7 +492,7 @@ class ConnectEditPage(ConnectBase):
|
|||||||
self.wizard().projector.location = location
|
self.wizard().projector.location = location
|
||||||
self.wizard().projector.notes = notes
|
self.wizard().projector.notes = notes
|
||||||
self.wizard().projector.pin = pin
|
self.wizard().projector.pin = pin
|
||||||
saved = self.db.update_projector(self.wizard().projector)
|
saved = self.wizard().db.update_projector(self.wizard().projector)
|
||||||
if not saved:
|
if not saved:
|
||||||
QtGui.QMessageBox.error(self, translate('OpenLP.ProjectorWizard', 'Database Error'),
|
QtGui.QMessageBox.error(self, translate('OpenLP.ProjectorWizard', 'Database Error'),
|
||||||
translate('OpenLP.ProjectorWizard', 'There was an error saving projector '
|
translate('OpenLP.ProjectorWizard', 'There was an error saving projector '
|
||||||
|
Loading…
Reference in New Issue
Block a user