src/eric7/Preferences/ConfigurationDialog.py

branch
eric7
changeset 10933
95a15b70f7bb
parent 10928
46651e194fbe
child 11090
f5f5f5803935
equal deleted inserted replaced
10932:82de5109035a 10933:95a15b70f7bb
1814 size = self.cw.size() 1814 size = self.cw.size()
1815 self.setCentralWidget(self.cw) 1815 self.setCentralWidget(self.cw)
1816 self.resize(size) 1816 self.resize(size)
1817 self.setWindowTitle(self.cw.windowTitle()) 1817 self.setWindowTitle(self.cw.windowTitle())
1818 1818
1819 self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet")) 1819 self.setStyle(
1820 styleName=Preferences.getUI("Style"),
1821 styleSheetFile=Preferences.getUI("StyleSheet"),
1822 itemClickBehavior=Preferences.getUI("ActivateItemOnSingleClick"),
1823 )
1820 1824
1821 # Setting the style sheet above set the button state of the Apply button 1825 # Setting the style sheet above set the button state of the Apply button
1822 # to be visible. So we need to hide it again. 1826 # to be visible. So we need to hide it again.
1823 self.cw.buttonBox.button(QDialogButtonBox.StandardButton.Apply).hide() 1827 self.cw.buttonBox.button(QDialogButtonBox.StandardButton.Apply).hide()
1824 self.cw.accepted.connect(self.accept) 1828 self.cw.accepted.connect(self.accept)

eric ide

mercurial