- 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:
@@ -155,7 +155,8 @@ if __name__ == '__main__':
|
||||
# apply style
|
||||
settings = QSettings("Open Source", "FlatCAM")
|
||||
if settings.contains("style"):
|
||||
style = settings.value('style', type=str)
|
||||
style_index = settings.value('style', type=str)
|
||||
style = QtWidgets.QStyleFactory.keys()[int(style_index)]
|
||||
app.setStyle(style)
|
||||
|
||||
fc = App(qapp=app)
|
||||
|
||||
Reference in New Issue
Block a user