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
e01e9935
Commit
e01e9935
authored
Feb 11, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't invalidate selection on item change (Refs:#477)
parent
e8ebab78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/gui/skins2/controls/ctrl_tree.cpp
modules/gui/skins2/controls/ctrl_tree.cpp
+2
-2
No files found.
modules/gui/skins2/controls/ctrl_tree.cpp
View file @
e01e9935
...
@@ -138,6 +138,7 @@ void CtrlTree::onUpdate( Subject<VarTree, tree_update*> &rTree,
...
@@ -138,6 +138,7 @@ void CtrlTree::onUpdate( Subject<VarTree, tree_update*> &rTree,
autoScroll
();
autoScroll
();
makeImage
();
makeImage
();
}
}
/// \todo handle delete in a more clever way
else
if
(
arg
->
i_type
==
1
)
// Global change or deletion
else
if
(
arg
->
i_type
==
1
)
// Global change or deletion
{
{
m_firstPos
=
m_rTree
.
begin
();
m_firstPos
=
m_rTree
.
begin
();
...
@@ -145,14 +146,13 @@ void CtrlTree::onUpdate( Subject<VarTree, tree_update*> &rTree,
...
@@ -145,14 +146,13 @@ void CtrlTree::onUpdate( Subject<VarTree, tree_update*> &rTree,
}
}
else
if
(
arg
->
i_type
==
2
)
// Item-append
else
if
(
arg
->
i_type
==
2
)
// Item-append
{
{
/// \todo Check if the
really
is really visible in the view (we only check if it in the document)
/// \todo Check if the
item
is really visible in the view (we only check if it in the document)
if
(
arg
->
b_visible
==
true
)
if
(
arg
->
b_visible
==
true
)
{
{
makeImage
();
makeImage
();
}
}
}
}
notifyLayout
();
notifyLayout
();
m_pLastSelected
=
NULL
;
}
}
void
CtrlTree
::
onUpdate
(
Subject
<
VarPercent
,
void
*>
&
rPercent
,
void
*
arg
)
void
CtrlTree
::
onUpdate
(
Subject
<
VarPercent
,
void
*>
&
rPercent
,
void
*
arg
)
...
...
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