Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
112c6a4d
Commit
112c6a4d
authored
4 months ago
by
Andreas Hatziiliou
Browse files
Options
Downloads
Patches
Plain Diff
chatview: disable visibility of sidepanel when adding contact
GitLab: #1871 Change-Id: I1949c0da388c637123801db39310a1c9fd8c7b99
parent
188f4876
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/mainview/components/ChatView.qml
+6
-5
6 additions, 5 deletions
src/app/mainview/components/ChatView.qml
src/app/mainview/components/ChatViewHeader.qml
+2
-0
2 additions, 0 deletions
src/app/mainview/components/ChatViewHeader.qml
with
8 additions
and
5 deletions
src/app/mainview/components/ChatView.qml
+
6
−
5
View file @
112c6a4d
...
...
@@ -133,12 +133,13 @@ Rectangle {
target
:
CurrentConversation
function
onIdChanged
()
{
console
.
log
(
CurrentConversation
.
id
);
if
(
width
<
JamiTheme
.
mainViewMinWidth
+
extrasPanel
.
width
)
{
extrasPanel
.
visible
=
false
;
}
if
(
!
chatViewHeader
.
interactionButtonsVisibility
)
if
(
!
chatViewHeader
.
detailsButtonVisibility
)
{
extrasPanel
.
closePanel
();
}
else
if
(
width
<
JamiTheme
.
mainViewMinWidth
+
extrasPanel
.
width
)
{
extrasPanel
.
closePanel
();
}
else
if
(
!
chatViewHeader
.
interactionButtonsVisibility
)
{
extrasPanel
.
closePanel
();
}
}
function
onNeedsHost
()
{
...
...
This diff is collapsed.
Click to expand it.
src/app/mainview/components/ChatViewHeader.qml
+
2
−
0
View file @
112c6a4d
...
...
@@ -46,6 +46,8 @@ Rectangle {
}
}
property
bool
detailsButtonVisibility
:
detailsButton
.
visible
readonly
property
bool
interactionButtonsVisibility
:
{
if
(
CurrentConversation
.
inCall
)
return
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment