Commit 11249292 authored by Ronan's avatar Ronan

fix(MainWindow): set and reset correctly selected entry menu

parent 235805a7
......@@ -96,12 +96,14 @@ function updateSelectedEntry (view, props) {
} else if (view === 'Contacts') {
item.contactsEntry.select()
timeline.resetSelectedEntry()
} else if (view === 'Conversation') {
} else {
menu.resetSelectedEntry()
timeline.setSelectedEntry(props.sipAddress)
} else if (view === 'ContactEdit') {
menu.resetSelectedEntry()
timeline.resetSelectedEntry()
if (view === 'Conversation') {
timeline.setSelectedEntry(props.sipAddress)
} else if (view === 'ContactEdit') {
timeline.resetSelectedEntry()
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment