From a3c1f4ea66ffa2d4b943607c4652964ef74fe4d3 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Mon, 9 Jun 2014 16:55:51 +0400 Subject: [PATCH] fix force update function --- sources/ptm/contents/code/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/ptm/contents/code/main.py b/sources/ptm/contents/code/main.py index c73ac02..678209a 100644 --- a/sources/ptm/contents/code/main.py +++ b/sources/ptm/contents/code/main.py @@ -120,11 +120,11 @@ class pyTextWidget(plasmascript.Applet): QObject.connect(self.ptmActions['readme'], SIGNAL("triggered(bool)"), self.showReadme) self.ptmActions['update'] = QAction(i18n("Update text"), self) QObject.connect(self.ptmActions['update'], SIGNAL("triggered(bool)"), - self.ptm['dataengine']['ext'], SLOT("forceImmediateUpdateOfAllVisualizations()")) + self.ptm['dataengine']['ext'], SLOT("updateAllSources()")) QObject.connect(self.ptmActions['update'], SIGNAL("triggered(bool)"), - self.ptm['dataengine']['system'], SLOT("forceImmediateUpdateOfAllVisualizations()")) + self.ptm['dataengine']['system'], SLOT("updateAllSources()")) QObject.connect(self.ptmActions['update'], SIGNAL("triggered(bool)"), - self.ptm['dataengine']['time'], SLOT("forceImmediateUpdateOfAllVisualizations()")) + self.ptm['dataengine']['time'], SLOT("updateAllSources()")) QObject.connect(self.ptmActions['update'], SIGNAL("triggered(bool)"), self.updateNetdev)