- added an initial text in the Tools tab
- added possibility to use the shortcut key for shortcut list in the Notebook tabs
This commit is contained in:
@@ -1508,6 +1508,13 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
if event.key() == QtCore.Qt.Key_3:
|
||||
self.app.on_select_tab('tool')
|
||||
|
||||
# Show shortcut list
|
||||
if event.key() == QtCore.Qt.Key_Ampersand:
|
||||
self.app.on_shortcut_list()
|
||||
|
||||
if event.key() == QtCore.Qt.Key_QuoteLeft:
|
||||
self.app.on_shortcut_list()
|
||||
|
||||
def dragEnterEvent(self, event):
|
||||
if event.mimeData().hasUrls:
|
||||
event.accept()
|
||||
|
||||
Reference in New Issue
Block a user