diff --git a/go/gothings/uistate.go b/go/gothings/uistate.go index c870d53..515511b 100644 --- a/go/gothings/uistate.go +++ b/go/gothings/uistate.go @@ -6,6 +6,7 @@ import ( "cwtch.im/ui/go/the" "encoding/base32" "git.openprivacy.ca/openprivacy/libricochet-go/log" + "runtime/debug" "strings" ) @@ -32,6 +33,7 @@ func (this *InterfaceState) AddContact(c *gobjects.Contact) { return } else if len(c.Handle) != 56 { log.Errorf("sorry, unable to handle AddContact(%v)", c.Handle) + debug.PrintStack() return } diff --git a/qml/main.qml b/qml/main.qml index fa962ed..cb8baa3 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -145,14 +145,14 @@ Item { property string title - Item {} // empty + Item { anchors.fill: parent } // empty OverlayPane { // messagePane title: theStack.title anchors.fill: parent } - SettingsPane{} + SettingsPane{ anchors.fill: parent } ColumnLayout { // userProfilePane anchors.fill: parent @@ -168,7 +168,7 @@ Item { Label { text: "per-user things like contact name and picture will be edited here" } } - GroupSettingsPane{} + GroupSettingsPane{ anchors.fill: parent } AddGroupPane { anchors.fill: parent } } diff --git a/qml/panes/OverlayPane.qml b/qml/panes/OverlayPane.qml index ea5f74e..0f30a73 100644 --- a/qml/panes/OverlayPane.qml +++ b/qml/panes/OverlayPane.qml @@ -22,7 +22,7 @@ ColumnLayout { } } - Row { + RowLayout { id: switcher diff --git a/qml/widgets/InplaceEditText.qmlc b/qml/widgets/InplaceEditText.qmlc index e70101e..ef3ccb2 100644 Binary files a/qml/widgets/InplaceEditText.qmlc and b/qml/widgets/InplaceEditText.qmlc differ diff --git a/qml/widgets/MyProfile.qml b/qml/widgets/MyProfile.qml index da189a6..d4400cd 100644 --- a/qml/widgets/MyProfile.qml +++ b/qml/widgets/MyProfile.qml @@ -95,16 +95,17 @@ ColumnLayout { } } - //InplaceEditText { // USER NICKNAME - // id: lblNick - // anchors.horizontalCenter: parent.horizontalCenter - // width: parent.width - // - // onUpdated: { - // gcd.updateNick(lblNick.text) - // } - //} + InplaceEditText { // USER NICKNAME + id: lblNick + anchors.horizontalCenter: parent.horizontalCenter + width: parent.width + onUpdated: { + gcd.updateNick(lblNick.text) + } + } + + /* Text { id: txtNick fontSizeMode: Text.HorizontalFit @@ -137,6 +138,7 @@ ColumnLayout { txtNick.visible = true } } + */ ScalingLabel { // ONION ADDRESS id: lblOnion @@ -246,6 +248,7 @@ ColumnLayout { onUpdateMyProfile: function(_nick, _onion, _image) { nick = _nick + lblNick.text = _nick onion = _onion image = _image }