Browse Source

Removed the timeout for the eject SD card message

Jaime van Kessel 8 years ago
parent
commit
4f594c9cf3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py

+ 1 - 1
plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py

@@ -99,7 +99,7 @@ class RemovableDriveOutputDevice(OutputDevice):
         self._writing = False
         self.writeFinished.emit(self)
         if job.getResult():
-            message = Message(catalog.i18nc("@info:status", "Saved to Removable Drive {0} as {1}").format(self.getName(), os.path.basename(job.getFileName())))
+            message = Message(catalog.i18nc("@info:status", "Saved to Removable Drive {0} as {1}").format(self.getName(), os.path.basename(job.getFileName())), lifetime = 0)
             message.addAction("eject", catalog.i18nc("@action:button", "Eject"), "eject", catalog.i18nc("@action", "Eject removable device {0}").format(self.getName()))
             message.actionTriggered.connect(self._onActionTriggered)
             message.show()