mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
Fix GUI log issues introduced by #1950
This commit is contained in:
parent
f3f068036a
commit
e2178f6c86
@ -153,7 +153,7 @@ def main():
|
||||
|
||||
browser = Browser(smgr, datasets_sub, args.browse_root,
|
||||
args.server, args.port)
|
||||
widget_log_handler.callback = browser.log.append_message
|
||||
widget_log_handler.callback = browser.log.model.append
|
||||
|
||||
if os.name == "nt":
|
||||
# HACK: show the main window before creating applets.
|
||||
|
@ -209,11 +209,11 @@ class LogDock(QDockWidgetCloseDetect):
|
||||
grid.addWidget(QtWidgets.QLabel("Minimum level: "), 0, 0)
|
||||
self.filter_level = QtWidgets.QComboBox()
|
||||
self.filter_level.addItems(["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"])
|
||||
self.filter_level.setToolTip("Receive entries at or above this level")
|
||||
self.filter_level.setToolTip("Filter entries at or above this level")
|
||||
grid.addWidget(self.filter_level, 0, 1)
|
||||
self.filter_freetext = QtWidgets.QLineEdit()
|
||||
self.filter_freetext.setPlaceholderText("freetext filter...")
|
||||
self.filter_freetext.setToolTip("Receive entries containing this text")
|
||||
self.filter_freetext.setToolTip("Filter entries containing this text")
|
||||
grid.addWidget(self.filter_freetext, 0, 2)
|
||||
|
||||
scrollbottom = QtWidgets.QToolButton()
|
||||
|
Loading…
Reference in New Issue
Block a user