- Isolation Plugin - if there is no object selected try to select the first one if there is any
- Fixed setting a new style
This commit is contained in:
@@ -94,7 +94,7 @@ class GeneralGUIPrefGroupUI(OptionsGroupUI):
|
||||
self.style_combo = FCComboBox()
|
||||
self.style_combo.addItems(QtWidgets.QStyleFactory.keys())
|
||||
# find current style
|
||||
current_style = QtCore.QCoreApplication.instance().style().objectName()
|
||||
current_style = QtWidgets.QApplication.style().objectName()
|
||||
index = self.style_combo.findText(current_style, QtCore.Qt.MatchFlag.MatchFixedString)
|
||||
self.style_combo.setCurrentIndex(index)
|
||||
self.style_combo.activated.connect(self.handle_style)
|
||||
|
||||
Reference in New Issue
Block a user