Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
ffad02d4
Commit
ffad02d4
authored
Aug 22, 2011
by
Davis King
Browse files
Fixed a minor bug in the list_box. It's behavior was a little awkward
when using the multiple selection feature.
parent
7c88acb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.cpp
+1
-0
No files found.
dlib/gui_widgets/widgets.cpp
View file @
ffad02d4
...
...
@@ -2305,6 +2305,7 @@ namespace dlib
<<
"
\n\t
index: "
<<
index
<<
"
\n\t
size(): "
<<
size
()
);
last_selected
=
index
;
items
[
index
].
is_selected
=
true
;
parent
.
invalidate_rectangle
(
rect
);
}
...
...
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