diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 1a9cf409..fb66abb6 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -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):