diff --git a/pyAmakIHM/classes/panelCommandes.py b/pyAmakIHM/classes/panelCommandes.py
index 60c0ade2dea6b8ed0be7f47872247faf547c0ec1..b0c775f6521b75c337b549012a72fd8b367fa5d9 100644
--- a/pyAmakIHM/classes/panelCommandes.py
+++ b/pyAmakIHM/classes/panelCommandes.py
@@ -27,9 +27,8 @@ class PanelCommandes(LabelFrame):
         frameBoutons = Frame(self)
         frameBoutons.pack(side='bottom',fill='x')
 
-        slider = Scale(frameBoutons,orient='horizontal',from_=1,to=10,command=self.notifyObserverAboutScale)
-        slider.set(10)
-        slider.pack(side='bottom',fill='x')
+        self.__slider = Scale(frameBoutons,orient='horizontal',from_=1,to=10,command=self.notifyObserverAboutScale)
+        self.__slider.pack(side='bottom',fill='x')
 
         bouttonPlus = Button(frameBoutons,text='+',command=self.plus)
         bouttonPlus.pack(side='right')
@@ -48,6 +47,7 @@ class PanelCommandes(LabelFrame):
     """
     def attach(self, observer : 'Controleur') -> None:
         self.__observer = observer
+        self.__slider.set(10)
 
     """
     Notify the observer that the Start.Stop button was pressed