Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
729fe67e
Commit
729fe67e
authored
Jul 20, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: improve playlist context menu handling by selecting the right menu item at mouse location
parent
69432b5b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+1
-1
No files found.
modules/gui/macosx/playlist.m
View file @
729fe67e
...
@@ -1363,7 +1363,7 @@
...
@@ -1363,7 +1363,7 @@
pt
=
[
o_outline_view
convertPoint
:
[
o_event
locationInWindow
]
fromView
:
nil
];
pt
=
[
o_outline_view
convertPoint
:
[
o_event
locationInWindow
]
fromView
:
nil
];
int
row
=
[
o_outline_view
rowAtPoint
:
pt
];
int
row
=
[
o_outline_view
rowAtPoint
:
pt
];
if
(
row
!=
-
1
&&
[
o_outline_view
selectedRow
]
==
-
1
)
if
(
row
!=
-
1
&&
!
[[
o_outline_view
selectedRowIndexes
]
containsIndex
:
row
]
)
[
o_outline_view
selectRowIndexes
:[
NSIndexSet
indexSetWithIndex
:
row
]
byExtendingSelection
:
NO
];
[
o_outline_view
selectRowIndexes
:[
NSIndexSet
indexSetWithIndex
:
row
]
byExtendingSelection
:
NO
];
b_item_sel
=
(
row
!=
-
1
&&
[
o_outline_view
selectedRow
]
!=
-
1
);
b_item_sel
=
(
row
!=
-
1
&&
[
o_outline_view
selectedRow
]
!=
-
1
);
...
...
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