Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
c1c34adf
Commit
c1c34adf
authored
Dec 03, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tree selection
parent
98a42ae0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/skins2/controls/ctrl_tree.cpp
modules/gui/skins2/controls/ctrl_tree.cpp
+4
-4
No files found.
modules/gui/skins2/controls/ctrl_tree.cpp
View file @
c1c34adf
...
...
@@ -403,10 +403,11 @@ void CtrlTree::handleEvent( EvtGeneric &rEvent )
else
{
// Unselect any previously selected item
for
(
it
=
m_rTree
.
begin
();
it
!=
m_rTree
.
end
();
it
=
m_rTree
.
getNextVisibleItem
(
it
)
)
VarTree
::
Iterator
it2
;
for
(
it2
=
m_rTree
.
begin
();
it2
!=
m_rTree
.
end
();
it2
=
m_rTree
.
getNextVisibleItem
(
it2
)
)
{
it
->
m_selected
=
false
;
it
2
->
m_selected
=
false
;
}
// Select the new item
if
(
it
!=
m_rTree
.
end
()
)
...
...
@@ -427,7 +428,6 @@ void CtrlTree::handleEvent( EvtGeneric &rEvent )
m_rTree
.
action
(
&*
it
);
}
}
// Redraw the control
makeImage
();
notifyLayout
();
...
...
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