Unverified Commit d809ba05 authored by mathieui's avatar mathieui

Do not trigger the “tab_change” event when going over a gaptab

parent 1133d411
......@@ -1175,7 +1175,7 @@ class Core(object):
self._current_tab_nb = len(self.tabs) - 1
else:
self._current_tab_nb = value
if old != self._current_tab_nb:
if old != self._current_tab_nb and self.tabs[self._current_tab_nb]:
self.events.trigger('tab_change', old, self._current_tab_nb)
### Opening actions ###
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment