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
7fc4c64d
Commit
7fc4c64d
authored
Jun 21, 2015
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change 'C' shortcut to 'N' for New.
parent
298b1e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
topydo/ui/Main.py
topydo/ui/Main.py
+6
-6
No files found.
topydo/ui/Main.py
View file @
7fc4c64d
...
@@ -140,15 +140,15 @@ class UIApplication(CLIApplicationBase):
...
@@ -140,15 +140,15 @@ class UIApplication(CLIApplicationBase):
if
self
.
columns
.
focus_position
>
0
:
if
self
.
columns
.
focus_position
>
0
:
self
.
columns
.
focus_position
-=
1
self
.
columns
.
focus_position
-=
1
def
_new_
view
(
self
):
def
_new_
column
(
self
):
self
.
viewwidget
.
reset
()
self
.
viewwidget
.
reset
()
self
.
_viewwidget_visible
=
True
self
.
_viewwidget_visible
=
True
def
_edit_
view
(
self
):
def
_edit_
column
(
self
):
self
.
viewwidget
.
data
=
self
.
columns
.
focus
.
view
.
data
self
.
viewwidget
.
data
=
self
.
columns
.
focus
.
view
.
data
self
.
_viewwidget_visible
=
True
self
.
_viewwidget_visible
=
True
def
_delete_
view
(
self
):
def
_delete_
column
(
self
):
try
:
try
:
focus
=
self
.
columns
.
focus_position
focus
=
self
.
columns
.
focus_position
del
self
.
columns
.
contents
[
focus
]
del
self
.
columns
.
contents
[
focus
]
...
@@ -170,9 +170,9 @@ class UIApplication(CLIApplicationBase):
...
@@ -170,9 +170,9 @@ class UIApplication(CLIApplicationBase):
'h'
:
self
.
_focus_previous_column
,
'h'
:
self
.
_focus_previous_column
,
'right'
:
self
.
_focus_next_column
,
'right'
:
self
.
_focus_next_column
,
'l'
:
self
.
_focus_next_column
,
'l'
:
self
.
_focus_next_column
,
'
C'
:
self
.
_new_view
,
'
N'
:
self
.
_new_column
,
'E'
:
self
.
_edit_
view
,
'E'
:
self
.
_edit_
column
,
'D'
:
self
.
_delete_
view
,
'D'
:
self
.
_delete_
column
,
}
}
try
:
try
:
...
...
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