log slider

- only add the gui logger after window is shown otherwise slider wont be shown
- need to silence gui logger after window closed otherwise logsystem hangs
- gui.GetLogLevelInt() extra function needed to give correcty int typecast value to gui widget that sets initial loglevel to default
This commit is contained in:
zelig
2014-06-26 12:13:31 +01:00
parent 2f96652bb4
commit c0a05fcf89
2 changed files with 15 additions and 3 deletions

View File

@@ -319,7 +319,7 @@ ApplicationWindow {
Slider {
id: logLevelSlider
value: eth.getLogLevel()
value: eth.getLogLevelInt()
anchors {
right: parent.right
top: parent.top