Preferences/ConfigurationPages/ViewmanagerPage.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 7
c679fb30c8f3
--- a/Preferences/ConfigurationPages/ViewmanagerPage.py	Mon Dec 28 17:05:28 2009 +0000
+++ b/Preferences/ConfigurationPages/ViewmanagerPage.py	Mon Dec 28 18:31:37 2009 +0000
@@ -78,8 +78,8 @@
         
         @param index index of selected workspace view type (integer)
         """
-        workspace = unicode(\
-            self.windowComboBox.itemData(self.windowComboBox.currentIndex()).toString())
+        workspace = \
+            self.windowComboBox.itemData(self.windowComboBox.currentIndex()).toString()
         pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace)
         
         self.previewPixmap.setPixmap(pixmap)

eric ide

mercurial