settings: log level selector

This commit is contained in:
Jaquee
2016-12-31 11:56:08 +01:00
parent d8f9e7360f
commit f2aefeebb3
2 changed files with 25 additions and 2 deletions

View File

@@ -150,9 +150,11 @@ ApplicationWindow {
function initialize() {
console.log("initializing..")
walletInitialized = false;
// Use stored log level
walletManager.setLogLevel(persistentSettings.logLevel)
// setup language
var locale = persistentSettings.locale
if (locale !== "") {
@@ -716,6 +718,7 @@ ApplicationWindow {
property bool is_recovering : false
property bool customDecorations : true
property string daemonFlags
property int logLevel: 0
}
// Information dialog