Fix verse order saving

This commit is contained in:
Jon Tibble 2011-01-18 19:11:46 +00:00
parent f37e2707ef
commit 14d45a0011
2 changed files with 3 additions and 2 deletions

View File

@ -437,7 +437,8 @@ class MainDisplay(DisplayWidget):
self.hideDisplay(self.hideMode)
# Hide mouse cursor when moved over display if enabled in settings
settings = QtCore.QSettings()
if settings.value(u'advanced/hide mouse', QtCore.QVariant(False)).toBool():
if settings.value(u'advanced/hide mouse',
QtCore.QVariant(False)).toBool():
self.setCursor(QtCore.Qt.BlankCursor)
self.frame.evaluateJavaScript('document.body.style.cursor = "none"')
else:

View File

@ -553,7 +553,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
return False
if self.verseOrderEdit.text():
order = []
order_names = self.verseOrderEdit.text().split()
order_names = str(self.verseOrderEdit.text()).split()
for item in order_names:
if len(item) == 1:
order.append(item.lower() + u'1')