- added ability to add a menu-entry separator after the tool, on install
This commit is contained in:
@@ -29,8 +29,8 @@ class Measurement(FlatCAMTool):
|
||||
self.click_subscription = None
|
||||
self.move_subscription = None
|
||||
|
||||
def install(self, icon=None):
|
||||
FlatCAMTool.install(self, icon)
|
||||
def install(self, icon=None, separator=None):
|
||||
FlatCAMTool.install(self, icon, separator)
|
||||
self.app.ui.right_layout.addWidget(self)
|
||||
self.app.plotcanvas.mpl_connect('key_press_event', self.on_key_press)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user