- fixed issue when doing th CTRL (or SHIFT) + LMB, the focus is automatically moved to Project Tab
- further work in internationalization, added a fallback to English language in case there is no translation for a string
This commit is contained in:
@@ -19,6 +19,13 @@ import FlatCAMTranslation as fcTranslate
|
||||
fcTranslate.apply_language('ObjectCollection')
|
||||
|
||||
|
||||
def _tr(text):
|
||||
try:
|
||||
return _(text)
|
||||
except:
|
||||
return text
|
||||
|
||||
|
||||
class KeySensitiveListView(QtWidgets.QTreeView):
|
||||
"""
|
||||
QtGui.QListView extended to emit a signal on key press.
|
||||
|
||||
Reference in New Issue
Block a user