From d4afb3cd59c7dfa0ae9e9df3b5fa7dae491eced3 Mon Sep 17 00:00:00 2001 From: Fredrik Kuivinen Date: Sat, 13 Aug 2005 10:46:50 +0200 Subject: [PATCH] Rename MainWidget.updateCache to avoid confusion with the global updateCache. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 326f770..37bf55c 100755 --- a/main.py +++ b/main.py @@ -148,7 +148,7 @@ class MainWidget(qt.QMainWindow): ops = qt.QPopupMenu(self) ops.insertItem("Commit Selected Files", self.commit, Qt.CTRL+Qt.Key_T) ops.insertItem("Refresh", self.refreshFiles, Qt.CTRL+Qt.Key_R) - ops.insertItem("Update Cache for Selected Files", self.updateCache, Qt.CTRL+Qt.Key_U) + ops.insertItem("Update Cache for Selected Files", self.updateCacheSelected, Qt.CTRL+Qt.Key_U) m = self.menuBar() m.insertItem("&Operations", ops) @@ -202,7 +202,7 @@ class MainWidget(qt.QMainWindow): self.text.raiseWidget(item.file.textW) self.text.update() - def updateCache(self, id): + def updateCacheSelected(self, id): for it in self.selectedItems(): doUpdateCache(it.file.dstName) self.refreshFiles() -- 2.11.4.GIT