forked from openlp/openlp
Remove redundant code
This commit is contained in:
parent
f75a6fd732
commit
a2448e36da
@ -450,8 +450,6 @@ class ThemeManager(QtGui.QWidget):
|
|||||||
'would you like to overwrite it?'),
|
'would you like to overwrite it?'),
|
||||||
(QtGui.QMessageBox.Yes | QtGui.QMessageBox.No),
|
(QtGui.QMessageBox.Yes | QtGui.QMessageBox.No),
|
||||||
QtGui.QMessageBox.No)
|
QtGui.QMessageBox.No)
|
||||||
else:
|
|
||||||
result == QtGui.QMessageBox.Yes
|
|
||||||
if result == QtGui.QMessageBox.Yes:
|
if result == QtGui.QMessageBox.Yes:
|
||||||
# Save the theme, overwriting the existing theme if necessary.
|
# Save the theme, overwriting the existing theme if necessary.
|
||||||
outfile = None
|
outfile = None
|
||||||
|
Loading…
Reference in New Issue
Block a user