chiark / gitweb /
Save the filename of loaded files so we can use that when saving to SD card. Make...
[cura.git] / Cura / gui / util / openglGui.py
index 00863fa3ee92b9de59241b1ca83c3fa0c74abdab..8a194b5506266da6e8ad3d05d6b04dc2b9a04ec7 100644 (file)
@@ -704,10 +704,7 @@ class glNotification(glFrame):
                super(glNotification, self).draw()
 
        def message(self, text, ejectCallback = None):
-               if self._anim is not None:
-                       self._anim = animation(self._base, self._anim.getPosition(), 25, 1)
-               else:
-                       self._anim = animation(self._base, -20, 25, 1)
+               self._anim = animation(self._base, -20, 25, 1)
                self.setHidden(False)
                self._label.setLabel(text)
                self._buttonEject.setHidden(ejectCallback is None)