Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
01533a3c
Commit
01533a3c
authored
May 28, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix some issues with playlist column headers
close #6870
parent
0792f8eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+10
-2
No files found.
modules/gui/macosx/playlist.m
View file @
01533a3c
...
...
@@ -85,7 +85,7 @@
case
NSEnterCharacter
:
case
NSCarriageReturnCharacter
:
[(
VLCPlaylist
*
)[[
VLCMain
sharedInstance
]
playlist
]
playItem
:
self
];
[(
VLCPlaylist
*
)[[
VLCMain
sharedInstance
]
playlist
]
playItem
:
nil
];
break
;
default:
...
...
@@ -788,6 +788,10 @@
playlist_item_t
*
p_item
;
playlist_item_t
*
p_node
=
NULL
;
// ignore clicks on column header when handling double action
if
(
sender
!=
nil
&&
[
o_outline_view
clickedRow
]
==
-
1
)
return
;
p_item
=
[[
o_outline_view
itemAtRow
:[
o_outline_view
selectedRow
]]
pointerValue
];
PL_LOCK
;
...
...
@@ -1315,7 +1319,7 @@
/* Check whether the selected table column header corresponds to a
sortable table column*/
if
(
!
(
o_tc
==
o_tc_name
||
o_tc
==
o_tc_author
)
)
if
(
!
(
o_tc
==
o_tc_name
||
o_tc
==
o_tc_author
||
o_tc
==
o_tc_duration
)
)
{
return
;
}
...
...
@@ -1337,6 +1341,10 @@
{
i_mode
=
SORT_ARTIST
;
}
else
if
(
o_tc
==
o_tc_duration
)
{
i_mode
=
SORT_DURATION
;
}
if
(
b_isSortDescending
)
{
...
...
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