Skip to content
Snippets Groups Projects
Commit b6ef1d90 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: fix focus on messagebar

remove undefined values causing the focus on the messagebar to be
broken

Change-Id: I85170ee87d254e0b2764a67b3a0a17fdee535234
parent 53374b7d
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,6 @@ ListSelectionView {
property string currentConvId: CurrentConversation.id
onCurrentConvIdChanged: {
if (!CurrentConversation.hasCall) {
resetPanels();
Qt.callLater(focusChatView);
} else {
dismiss();
......
......@@ -47,10 +47,6 @@ Rectangle {
chatViewFooter.textInput.forceActiveFocus();
}
function resetPanels() {
chatViewHeader.showSearch = true;
}
function instanceMapObject() {
if (WITH_WEBENGINE) {
var component = Qt.createComponent("qrc:/webengine/map/MapPosition.qml");
......@@ -86,7 +82,6 @@ Rectangle {
if (visible) {
chatViewSplitView.resolvePanes(true);
if (root.parent.objectName === "CallViewChatViewContainer") {
chatViewHeader.showSearch = !root.parent.showDetails;
if (root.parent.showDetails) {
extrasPanel.switchToPanel(ChatView.SwarmDetailsPanel);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment