summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/basetabs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index 30ddf239..d54d4578 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -171,6 +171,9 @@ class Tab(object):
if self._state == 'current':
self._prev_state = None
+ def set_state(self, value):
+ self._state = value
+
def save_state(self):
if self._state != 'composing':
self._prev_state = self._state