- made sure that the status bar label for preferences is updated also when the Preferences Tab is opened from the Edit -> Preferences
This commit is contained in:
parent
b23bd5f590
commit
378a497935
17
App_Main.py
17
App_Main.py
|
@ -5148,14 +5148,6 @@ class App(QtCore.QObject):
|
||||||
self.ui.pref_status_label.setStyleSheet("")
|
self.ui.pref_status_label.setStyleSheet("")
|
||||||
else:
|
else:
|
||||||
self.on_preferences()
|
self.on_preferences()
|
||||||
self.ui.pref_status_label.setStyleSheet("""
|
|
||||||
QLabel
|
|
||||||
{
|
|
||||||
color: black;
|
|
||||||
background-color: lightseagreen;
|
|
||||||
}
|
|
||||||
"""
|
|
||||||
)
|
|
||||||
|
|
||||||
def on_preferences(self):
|
def on_preferences(self):
|
||||||
"""
|
"""
|
||||||
|
@ -5175,6 +5167,15 @@ class App(QtCore.QObject):
|
||||||
self.ui.plot_tab_area.setCurrentWidget(self.ui.preferences_tab)
|
self.ui.plot_tab_area.setCurrentWidget(self.ui.preferences_tab)
|
||||||
# self.ui.show()
|
# self.ui.show()
|
||||||
|
|
||||||
|
self.ui.pref_status_label.setStyleSheet("""
|
||||||
|
QLabel
|
||||||
|
{
|
||||||
|
color: black;
|
||||||
|
background-color: lightseagreen;
|
||||||
|
}
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
# detect changes in the preferences
|
# detect changes in the preferences
|
||||||
for idx in range(self.ui.pref_tab_area.count()):
|
for idx in range(self.ui.pref_tab_area.count()):
|
||||||
for tb in self.ui.pref_tab_area.widget(idx).findChildren(QtCore.QObject):
|
for tb in self.ui.pref_tab_area.widget(idx).findChildren(QtCore.QObject):
|
||||||
|
|
|
@ -14,6 +14,7 @@ CHANGELOG for FlatCAM beta
|
||||||
- minor issue in Paint Tool
|
- minor issue in Paint Tool
|
||||||
- added a new feature for Gerber parsing: if the NO buffering is chosen in the Gerber Advanced Preferences there is now a checkbox to activate delayed buffering which will do the buffering in background allowing the user to work in between. I hope that this can be useful in case of large Gerber files.
|
- added a new feature for Gerber parsing: if the NO buffering is chosen in the Gerber Advanced Preferences there is now a checkbox to activate delayed buffering which will do the buffering in background allowing the user to work in between. I hope that this can be useful in case of large Gerber files.
|
||||||
- made the delayed Gerber buffering to use multiprocessing but I see not much performance increase
|
- made the delayed Gerber buffering to use multiprocessing but I see not much performance increase
|
||||||
|
- made sure that the status bar label for preferences is updated also when the Preferences Tab is opened from the Edit -> Preferences
|
||||||
|
|
||||||
2.06.2020
|
2.06.2020
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue