src/eric7/Preferences/ConfigurationPages/ViewmanagerPage.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10683
779cda568acb
child 11090
f5f5f5803935
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
66 "TabViewManagerFilenameOnly", self.filenameOnlyCheckBox.isChecked() 66 "TabViewManagerFilenameOnly", self.filenameOnlyCheckBox.isChecked()
67 ) 67 )
68 Preferences.setUI("RecentNumber", self.recentFilesSpinBox.value()) 68 Preferences.setUI("RecentNumber", self.recentFilesSpinBox.value())
69 69
70 @pyqtSlot(int) 70 @pyqtSlot(int)
71 def on_windowComboBox_activated(self, index): 71 def on_windowComboBox_activated(self, _index):
72 """ 72 """
73 Private slot to show a preview of the selected workspace view type. 73 Private slot to show a preview of the selected workspace view type.
74 74
75 @param index index of selected workspace view type 75 @param _index index of selected workspace view type (unused)
76 @type int 76 @type int
77 """ 77 """
78 workspace = self.windowComboBox.itemData(self.windowComboBox.currentIndex()) 78 workspace = self.windowComboBox.itemData(self.windowComboBox.currentIndex())
79 pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace) 79 pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace)
80 80

eric ide

mercurial