From be53b6de7683ec4cf3909e793ab74cdd6139ea93 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Mon, 12 Dec 2011 13:37:45 -0500 Subject: [PATCH] Fixed Clear Picture Cache action under Qt which was broken. --- qt/pe/result_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/pe/result_window.py b/qt/pe/result_window.py index 24fefade..cbc35fea 100644 --- a/qt/pe/result_window.py +++ b/qt/pe/result_window.py @@ -25,6 +25,6 @@ class ResultWindow(ResultWindowBase): title = tr("Clear Picture Cache") msg = tr("Do you really want to remove all your cached picture analysis?") if self.app.confirm(title, msg, QMessageBox.No): - self.app.scanner.clear_picture_cache() + self.app.model.scanner.clear_picture_cache() QMessageBox.information(self, title, tr("Picture cache cleared.")) \ No newline at end of file