Fully controlable idle time + Changelog update
This commit is contained in:
parent
a696e4b028
commit
2f0d750480
3 changed files with 7 additions and 5 deletions
|
@ -23,6 +23,8 @@ CHANGELOG
|
||||||
* Memo scrollbar thing - Kiooeht [evacipatedBox]
|
* Memo scrollbar thing - Kiooeht [evacipatedBox]
|
||||||
* Time arrows in enamel - Kiooeht [evacipatedBox]
|
* Time arrows in enamel - Kiooeht [evacipatedBox]
|
||||||
* Quirk order actually works - Kiooeht [evacipatedBox]
|
* Quirk order actually works - Kiooeht [evacipatedBox]
|
||||||
|
* Stay in memos on profile switch - Kiooeht [evacipatedBox]
|
||||||
|
* Auto rejoin memos on reconnect - Kiooeht [evacipatedBox]
|
||||||
|
|
||||||
### 3.14.1
|
### 3.14.1
|
||||||
* Pesterchum 3.14 - illuminatedwax [ghostDunk]
|
* Pesterchum 3.14 - illuminatedwax [ghostDunk]
|
||||||
|
|
8
menus.py
8
menus.py
|
@ -695,10 +695,10 @@ class PesterOptions(QtGui.QDialog):
|
||||||
self.logmemoscheck = QtGui.QCheckBox("Log all Memos", self)
|
self.logmemoscheck = QtGui.QCheckBox("Log all Memos", self)
|
||||||
self.logmemoscheck.setChecked(self.config.logMemos())
|
self.logmemoscheck.setChecked(self.config.logMemos())
|
||||||
|
|
||||||
times = ["1", "5", "10", "15", "30"]
|
self.idleBox = QtGui.QSpinBox(self)
|
||||||
self.idleBox = QtGui.QComboBox(self)
|
self.idleBox.setStyleSheet("background:#FFFFFF")
|
||||||
self.idleBox.addItems(times)
|
self.idleBox.setRange(1, 1440)
|
||||||
self.idleBox.setCurrentIndex(self.idleBox.findText(str(self.config.idleTime())))
|
self.idleBox.setValue(self.config.idleTime())
|
||||||
layout_5 = QtGui.QHBoxLayout()
|
layout_5 = QtGui.QHBoxLayout()
|
||||||
layout_5.addWidget(QtGui.QLabel("Minutes before Idle:"))
|
layout_5.addWidget(QtGui.QLabel("Minutes before Idle:"))
|
||||||
layout_5.addWidget(self.idleBox)
|
layout_5.addWidget(self.idleBox)
|
||||||
|
|
|
@ -2363,7 +2363,7 @@ class PesterWindow(MovingWindow):
|
||||||
if linkssetting != curlinks:
|
if linkssetting != curlinks:
|
||||||
self.config.set('userLinks', not linkssetting)
|
self.config.set('userLinks', not linkssetting)
|
||||||
# idle time
|
# idle time
|
||||||
idlesetting = int(unicode(self.optionmenu.idleBox.currentText()))
|
idlesetting = self.optionmenu.idleBox.value()
|
||||||
curidle = self.config.idleTime()
|
curidle = self.config.idleTime()
|
||||||
if idlesetting != curidle:
|
if idlesetting != curidle:
|
||||||
self.config.set('idleTime', idlesetting)
|
self.config.set('idleTime', idlesetting)
|
||||||
|
|
Loading…
Reference in a new issue