mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 19:51:32 +02:00
WIP: bugfixed tech controller, more refactoring
Resolved the dependencies between MainWindow, TechController and MacroController somewhat more. * The macro controller now listens to the tech controller for the active technology * The tech controller has more responsibility now * Some functionality has been taken out of the MainWindow and put into the controller's implementation
This commit is contained in:
@@ -197,7 +197,7 @@ PluginDeclaration::init_menu ()
|
||||
m_mouse_mode_action.qaction ()->setData (QVariant (id ()));
|
||||
|
||||
menu.insert_item ("edit_menu.mode_menu.end", name, m_mouse_mode_action);
|
||||
menu.insert_item ("@toolbar.end", name, m_mouse_mode_action);
|
||||
menu.insert_item ("@toolbar.end_modes", name, m_mouse_mode_action);
|
||||
|
||||
gtf::action_connect (m_mouse_mode_action.qaction (), SIGNAL (triggered ()), this, SLOT (mode_triggered ()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user