encode one way for CLI, encode another for GUI (#141)

This commit is contained in:
Micah Lee 2014-09-16 02:09:37 +00:00
parent fec0c9ad65
commit 89581b0a03
6 changed files with 21 additions and 18 deletions

View file

@ -35,7 +35,7 @@ class Options(QtGui.QHBoxLayout):
self.close_automatically.setCheckState(QtCore.Qt.Unchecked)
else:
self.close_automatically.setCheckState(QtCore.Qt.Checked)
self.close_automatically.setText(strings._("close_on_finish"))
self.close_automatically.setText(strings._("close_on_finish", True))
self.connect(self.close_automatically, QtCore.SIGNAL('stateChanged(int)'), self.stay_open_changed)
# add the widgets