Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
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
Kulya
vmj-qt
Commits
79c97010
Commit
79c97010
authored
May 25, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show session list by default when starting chat/messages/call
parent
61cd8f54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
chatwindow.py
blink/chatwindow.py
+2
-0
No files found.
blink/chatwindow.py
View file @
79c97010
...
...
@@ -2659,6 +2659,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
selection_model
=
self
.
session_list
.
selectionModel
()
selection_model
.
select
(
model
.
index
(
position
),
selection_model
.
ClearAndSelect
)
self
.
session_list
.
scrollTo
(
model
.
index
(
position
),
QListView
.
EnsureVisible
)
# or PositionAtCenter
self
.
session_list
.
animation
.
setStartValue
(
self
.
session_widget
.
geometry
())
self
.
session_list
.
show
()
session
.
chat_widget
.
chat_input
.
setFocus
(
Qt
.
OtherFocusReason
)
def
_SH_SessionModelSessionRemoved
(
self
,
session
):
...
...
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