fix 'ok' in FileManager for files a bit
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 7 Aug 2006 18:50:44 +0000 (18:50 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 7 Aug 2006 18:50:44 +0000 (18:50 +0000)
lib/python/Plugins/Extensions/FileManager/plugin.py

index e9dccbd6309d7883639924b3f81a912a599f3e76..11f75a2b0847856d4440522deab93f73b74d114b 100644 (file)
@@ -56,7 +56,7 @@ class FileManager(Screen):
                if self["list"].canDescent(): # isDir
                        self["list"].descent()
                else:
-                       self["pixmap"].instance.setPixmapFromFile(self["list"].getSelection())
+                       self["pixmap"].instance.setPixmapFromFile(self["list"].getFilename())
        
        def keyNumberGlobal(self, number):
                print "pressed", number