openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #10569
[Merge] lp:~googol/openlp/theme into lp:openlp
Andreas Preikschat has proposed merging lp:~googol/openlp/theme into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~googol/openlp/theme/+merge/66259
Hello,
- fixed theme copy :-)
--
https://code.launchpad.net/~googol/openlp/theme/+merge/66259
Your team OpenLP Core is requested to review the proposed merge of lp:~googol/openlp/theme into lp:openlp.
=== modified file 'openlp/core/ui/thememanager.py'
--- openlp/core/ui/thememanager.py 2011-06-26 19:34:01 +0000
+++ openlp/core/ui/thememanager.py 2011-06-29 09:11:24 +0000
@@ -298,11 +298,10 @@
Copies an existing theme to a new name
"""
item = self.themeListWidget.currentItem()
- oldThemeName = unicode(
- translate('OpenLP.ThemeManager', 'Copy of %s',
- 'Copy of <theme name>')) % unicode(
- item.data(QtCore.Qt.UserRole).toString())
- self.fileRenameForm.fileNameEdit.setText(oldThemeName)
+ oldThemeName = unicode(item.data(QtCore.Qt.UserRole).toString())
+ self.fileRenameForm.fileNameEdit.setText(
+ unicode(translate('OpenLP.ThemeManager',
+ 'Copy of %s','Copy of <theme name>')) % oldThemeName)
if self.fileRenameForm.exec_(True):
newThemeName = unicode(self.fileRenameForm.fileNameEdit.text())
if self.checkIfThemeExists(newThemeName):
Follow ups