Fixes some javascript errors

This commit is contained in:
Sander Ferdinand
2018-07-18 18:26:34 +02:00
parent 6be5e5731e
commit 9872689abe
3 changed files with 6 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ Rectangle {
color: "transparent"
height: 1400
Layout.fillWidth: true
ColumnLayout {
id: settingsLog
property int itemHeight: 60 * scaleRatio
@@ -31,7 +31,7 @@ Rectangle {
// color: MoneroComponents.Style.dividerColor
// opacity: MoneroComponents.Style.dividerOpacity
// }
Text {
Layout.bottomMargin: 2 * scaleRatio
color: MoneroComponents.Style.defaultFontColor
@@ -191,7 +191,6 @@ Rectangle {
id: sendCommandText
Layout.fillWidth: true
fontBold: false
fontFamily: MoneroComponents.Style.fontRegular.name
placeholderText: qsTr("command + enter (e.g help)") + translationManager.emptyString
placeholderFontSize: 16 * scaleRatio
onAccepted: {
@@ -207,7 +206,7 @@ Rectangle {
Component.onCompleted: {
logLevelDropdown.currentIndex = persistentSettings.logLevel;
logLevelDropdown.update();
if(typeof daemonManager != "undefined")
daemonManager.daemonConsoleUpdated.connect(onDaemonConsoleUpdated)
}