mirror of https://github.com/KLayout/klayout.git
Properly populating the editor options pages
This commit is contained in:
parent
99825e2e24
commit
1a1139299a
|
|
@ -638,6 +638,8 @@ void LayoutView::do_setup_editor_options_pages ()
|
|||
(*op)->setup (this);
|
||||
}
|
||||
}
|
||||
|
||||
activate_editor_option_pages ();
|
||||
}
|
||||
|
||||
void LayoutView::side_panel_destroyed (QObject *sender)
|
||||
|
|
@ -1437,9 +1439,14 @@ void
|
|||
LayoutView::mode (int m)
|
||||
{
|
||||
if (mode () != m) {
|
||||
|
||||
LayoutViewBase::mode (m);
|
||||
activate_editor_option_pages ();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
LayoutView::activate_editor_option_pages ()
|
||||
{
|
||||
lay::EditorOptionsPages *eo_pages = editor_options_pages ();
|
||||
if (eo_pages) {
|
||||
|
||||
|
|
@ -1455,8 +1462,6 @@ LayoutView::mode (int m)
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -679,6 +679,8 @@ protected:
|
|||
|
||||
private:
|
||||
using LayoutViewBase::ui;
|
||||
|
||||
void activate_editor_option_pages ();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue