- fixed a bug in NCC Tool and start trying to make the App responsive while the NCC tool is run in a non-threaded way
- fixed a GUI bug with the QMenuBar recently introduced
This commit is contained in:
@@ -43,8 +43,11 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
# ######### ##
|
||||
self.menu = self.menuBar()
|
||||
|
||||
# self.menu_toggle_nb = QtWidgets.QAction(QtGui.QIcon('share/notebook32.png'), "NB")
|
||||
self.menu_toggle_nb = QtWidgets.QAction("NB")
|
||||
self.menu_toggle_nb = QtWidgets.QAction(QtGui.QIcon('share/notebook32.png'), _("Toggle Panel"))
|
||||
self.menu_toggle_nb.setToolTip(
|
||||
_("Toggle Panel")
|
||||
)
|
||||
# self.menu_toggle_nb = QtWidgets.QAction("NB")
|
||||
|
||||
self.menu_toggle_nb.setCheckable(True)
|
||||
self.menu.addAction(self.menu_toggle_nb)
|
||||
|
||||
@@ -280,7 +280,6 @@ class PlotCanvas(QtCore.QObject, VisPyCanvas):
|
||||
p2 = np.array(curr_pos)[:2]
|
||||
self.view.camera.pan(p2 - p1)
|
||||
|
||||
|
||||
if self.fcapp.grid_status() == True:
|
||||
pos_canvas = self.translate_coords(curr_pos)
|
||||
pos = self.fcapp.geo_editor.snap(pos_canvas[0], pos_canvas[1])
|
||||
|
||||
Reference in New Issue
Block a user