Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
b3af3b37
Commit
b3af3b37
authored
Jan 08, 2016
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring back mouse clicking to select items
parent
280c77f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
topydo/ui/TodoListWidget.py
topydo/ui/TodoListWidget.py
+4
-0
No files found.
topydo/ui/TodoListWidget.py
View file @
b3af3b37
...
...
@@ -161,8 +161,12 @@ class TodoListWidget(urwid.LineBox):
if
p_event
==
'mouse press'
:
if
p_button
==
4
:
# up
self
.
listbox
.
keypress
(
p_size
,
'up'
)
return
elif
p_button
==
5
:
#down:
self
.
listbox
.
keypress
(
p_size
,
'down'
)
return
return
super
().
mouse_event
(
p_size
,
p_event
,
p_button
,
p_column
,
p_row
,
p_focus
)
def
selectable
(
self
):
return
True
...
...
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