Просмотр исходного кода

- when shortcut keys 1, 2, 3 (tab selection) are activated, if the splitter left side (the notebook) is hidden it will be mae visible
- changed the menu entry Toggle Grid name to Toggle Grid Snap

Marius Stanciu 7 лет назад
Родитель
Сommit
f39fea072c
3 измененных файлов с 11 добавлено и 2 удалено
  1. 4 0
      FlatCAMApp.py
  2. 1 1
      FlatCAMGUI.py
  3. 6 1
      README.md

+ 4 - 0
FlatCAMApp.py

@@ -4199,6 +4199,10 @@ class App(QtCore.QObject):
         elif name == 'tool':
             self.ui.notebook.setCurrentWidget(self.ui.tool_tab)
 
+        # if the splitter us hidden, display it
+        if self.ui.splitter.sizes()[0] == 0:
+            self.ui.splitter.setSizes([1, 1])
+
     def on_copy_name(self):
         self.report_usage("on_copy_name()")
 

+ 1 - 1
FlatCAMGUI.py

@@ -273,7 +273,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
             QtGui.QIcon('share/plot32.png'), "&Toggle Plot Area\tCTRL+F10")
 
         self.menuview.addSeparator()
-        self.menuview_toggle_grid = self.menuview.addAction(QtGui.QIcon('share/grid32.png'), "&Toggle Grid\tG")
+        self.menuview_toggle_grid = self.menuview.addAction(QtGui.QIcon('share/grid32.png'), "&Toggle Grid Snap\tG")
         self.menuview_toggle_axis = self.menuview.addAction(QtGui.QIcon('share/axis32.png'), "&Toggle Axis\tSHIFT+G")
         self.menuview_toggle_workspace = self.menuview.addAction(QtGui.QIcon('share/workspace24.png'),
                                                                  "Toggle Workspace\tSHIFT+W")

+ 6 - 1
README.md

@@ -9,6 +9,12 @@ CAD program, and create G-Code for Isolation routing.
 
 =================================================
 
+8.02.2019
+
+- when shortcut keys 1, 2, 3 (tab selection) are activated, if the splitter left side (the notebook) is hidden it will be mae visible
+- changed the menu entry Toggle Grid name to Toggle Grid Snap
+
+
 7.02.2019
 
 - in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object
@@ -25,7 +31,6 @@ CAD program, and create G-Code for Isolation routing.
 - color coded the status bar bullet to blue for selection
 - the name of the selected objects are displayed in the status bar color coded: green for Gerber objects, Brown for Excellon, Red for Geometry and Blue for CNCJobs.
 
-
 6.02.2019
 
 - fixed the units calculators crash FlatCAM when using comma as decimal separator