From 486ca80a4849e0ac0ab6e99e86876d6d910dacc6 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 7 Dec 2012 10:45:35 +0000 Subject: [PATCH] reset progress bar when killing client --- Fltk/onelabGroup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Fltk/onelabGroup.cpp b/Fltk/onelabGroup.cpp index 58d2406bf4..1c624045bd 100644 --- a/Fltk/onelabGroup.cpp +++ b/Fltk/onelabGroup.cpp @@ -351,6 +351,8 @@ bool onelab::localNetworkClient::kill() if(_pid > 0) { if(KillProcess(_pid)){ Msg::Info("Killed '%s' (pid %d)", _name.c_str(), _pid); + if(FlGui::available()) + FlGui::instance()->setProgress("Killed", 0, 0, 0); _pid = -1; return true; } -- GitLab