mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-28 17:29:19 +00:00
fix(MainWindow): set and reset correctly selected entry menu
This commit is contained in:
parent
235805a77b
commit
11249292fd
1 changed files with 7 additions and 5 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue