mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3763 (Cannot close server log window)
This commit is contained in:
parent
b3ad9f0160
commit
a53c32ae81
@ -623,7 +623,10 @@ class ConfigDialog(QDialog, Ui_Dialog):
|
|||||||
try:
|
try:
|
||||||
al.setPlainText(open(log_access_file, 'rb').read().decode('utf8', 'replace'))
|
al.setPlainText(open(log_access_file, 'rb').read().decode('utf8', 'replace'))
|
||||||
except IOError:
|
except IOError:
|
||||||
el.setPlainText('No access log found')
|
al.setPlainText('No access log found')
|
||||||
|
bx = QDialogButtonBox(QDialogButtonBox.Ok)
|
||||||
|
layout.addWidget(bx)
|
||||||
|
self.connect(bx, SIGNAL('accepted()'), d.accept)
|
||||||
d.show()
|
d.show()
|
||||||
|
|
||||||
def set_server_options(self):
|
def set_server_options(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user