Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
57be13cf
Commit
57be13cf
authored
May 09, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/modules/Linphone/Calls/Calls): use `callModel` instead of `call` in running callback
parent
7d0384ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Calls.js
linphone-desktop/ui/modules/Linphone/Calls/Calls.js
+2
-1
Calls.qml
linphone-desktop/ui/modules/Linphone/Calls/Calls.qml
+2
-2
No files found.
linphone-desktop/ui/modules/Linphone/Calls/Calls.js
View file @
57be13cf
...
...
@@ -139,7 +139,8 @@ function handleRowsInserted (_, first, last) {
}
}
if
(
index
===
0
&&
model
.
rowsCount
()
===
1
)
{
// First received call.
if
(
first
===
0
&&
model
.
rowCount
()
===
1
)
{
resetSelectedCall
()
}
}
linphone-desktop/ui/modules/Linphone/Calls/Calls.qml
View file @
57be13cf
...
...
@@ -13,7 +13,7 @@ ListView {
// ---------------------------------------------------------------------------
readonly
property
var
selectedCall
:
_selectedCall
readonly
property
var
selectedCall
:
calls
.
_selectedCall
property
var
_selectedCall
...
...
@@ -30,7 +30,7 @@ ListView {
Connections
{
target
:
model
onCallRunning
:
Logic
.
handleCallRunning
(
index
,
call
)
onCallRunning
:
Logic
.
handleCallRunning
(
index
,
call
Model
)
onRowsAboutToBeRemoved
:
Logic
.
handleRowsAboutToBeRemoved
(
parent
,
first
,
last
)
onRowsInserted
:
Logic
.
handleRowsInserted
(
parent
,
first
,
last
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment