Commit 98c35f6f authored by Manuel Cortez's avatar Manuel Cortez

Removed a small error with threads being out of control

parent 2f488a5d
Pipeline #714 passed with stage
in 4 minutes and 5 seconds
......@@ -535,7 +535,7 @@ class Controller(object):
del self.longpoll
# @wx_call_after
def create_buffer(self, buffer_type="baseBuffer", buffer_title="", parent_tab=None, loadable=False, get_items=False, kwargs={}):
""" Create and insert a buffer in the specified place.
@buffer_type str: name of the buffer type to be created. This should be a class in the module.
......@@ -551,9 +551,9 @@ class Controller(object):
buffer.can_get_items = False
if parent_tab == None:
wx.CallAfter(self.window.add_buffer,, buffer_title)
self.window.add_buffer(, buffer_title)
wx.CallAfter(self.window.insert_buffer,, buffer_title,
self.window.insert_buffer(, buffer_title,
if get_items:
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