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
Pierre-Samuel Le Stang
poezio
Commits
784f2d28
Unverified
Commit
784f2d28
authored
Jul 21, 2018
by
mathieui
Browse files
Fix the move_tab command
parent
115aee3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
poezio/core/core.py
poezio/core/core.py
+3
-2
No files found.
poezio/core/core.py
View file @
784f2d28
...
...
@@ -398,7 +398,7 @@ class Core:
Called when the option create_gaps is changed.
Remove all gaptabs if switching from gaps to nogaps.
"""
self
.
tabs
.
update_gaps
(
value
.
lower
()
=
=
"false"
)
self
.
tabs
.
update_gaps
(
value
.
lower
()
!
=
"false"
)
def
on_request_receipts_config_change
(
self
,
option
,
value
):
"""
...
...
@@ -1019,7 +1019,8 @@ class Core:
Insert a tab at a position, changing the number of the following tabs
returns False if it could not move the tab, True otherwise
"""
self
.
tabs
.
insert_tab
(
old_pos
,
new_pos
,
config
.
get
(
'create_gaps'
))
return
self
.
tabs
.
insert_tab
(
old_pos
,
new_pos
,
config
.
get
(
'create_gaps'
))
### Move actions (e.g. go to next room) ###
...
...
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