mirror of https://github.com/KLayout/klayout.git
commit
46d2fef0fa
|
|
@ -674,9 +674,7 @@ void
|
||||||
NetlistBrowserDialog::activated ()
|
NetlistBrowserDialog::activated ()
|
||||||
{
|
{
|
||||||
std::string state;
|
std::string state;
|
||||||
if (lay::PluginRoot::instance ()) {
|
view ()->config_get (cfg_l2ndb_window_state, state);
|
||||||
lay::PluginRoot::instance ()->config_get (cfg_l2ndb_window_state, state);
|
|
||||||
}
|
|
||||||
lay::restore_dialog_state (this, state, false /*don't adjust the section sizes*/);
|
lay::restore_dialog_state (this, state, false /*don't adjust the section sizes*/);
|
||||||
|
|
||||||
// Switch to the active cellview index when no valid one is set.
|
// Switch to the active cellview index when no valid one is set.
|
||||||
|
|
|
||||||
|
|
@ -346,6 +346,8 @@ Plugin::config_get (const std::string &name, std::string &value) const
|
||||||
if (p != m_repository.end ()) {
|
if (p != m_repository.end ()) {
|
||||||
value = p->second;
|
value = p->second;
|
||||||
return true;
|
return true;
|
||||||
|
} else if (mp_parent) {
|
||||||
|
return mp_parent->config_get (name, value);
|
||||||
} else {
|
} else {
|
||||||
value = "";
|
value = "";
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -636,9 +636,7 @@ void
|
||||||
MarkerBrowserDialog::activated ()
|
MarkerBrowserDialog::activated ()
|
||||||
{
|
{
|
||||||
std::string state;
|
std::string state;
|
||||||
if (lay::PluginRoot::instance ()) {
|
view ()->config_get (cfg_rdb_window_state, state);
|
||||||
lay::PluginRoot::instance ()->config_get (cfg_rdb_window_state, state);
|
|
||||||
}
|
|
||||||
lay::restore_dialog_state (this, state);
|
lay::restore_dialog_state (this, state);
|
||||||
|
|
||||||
// Switch to the active cellview index when no valid one is set.
|
// Switch to the active cellview index when no valid one is set.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue