mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 11:18:08 -06:00
Fixed issue when cleaning a buffer
This commit is contained in:
parent
bf4c7ff7c7
commit
fabca1207d
@ -650,7 +650,7 @@ class Controller(object):
|
||||
|
||||
def clear_buffer(self, *args, **kwargs):
|
||||
buffer = self.get_current_buffer()
|
||||
if hasattr(buffer, "clear"):
|
||||
if hasattr(buffer, "clear_list"):
|
||||
return buffer.clear_list()
|
||||
|
||||
def remove_buffer(self, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user