From fabca1207d58c90cd4b642771c2546ca5ec03733 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Thu, 24 Nov 2022 16:36:08 -0600 Subject: [PATCH] Fixed issue when cleaning a buffer --- src/controller/mainController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):