summaryrefslogtreecommitdiff
path: root/plugins/reorder.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/reorder.py')
-rw-r--r--plugins/reorder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/reorder.py b/plugins/reorder.py
index 2708d395..e61a9925 100644
--- a/plugins/reorder.py
+++ b/plugins/reorder.py
@@ -183,7 +183,8 @@ class Plugin(BasePlugin):
new_tabs.append(new_tab)
except:
self.api.information('Failed to create tab \'%s\'.' % jid, 'Error')
- continue
+ if create_gaps:
+ new_tabs.append(tabs.GapTab(self.core))
last = pos
for tab in old_tabs: