mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 17:30:09 +02:00
@@ -674,9 +674,7 @@ void
|
||||
NetlistBrowserDialog::activated ()
|
||||
{
|
||||
std::string state;
|
||||
if (lay::PluginRoot::instance ()) {
|
||||
lay::PluginRoot::instance ()->config_get (cfg_l2ndb_window_state, state);
|
||||
}
|
||||
view ()->config_get (cfg_l2ndb_window_state, state);
|
||||
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.
|
||||
|
||||
@@ -346,6 +346,8 @@ Plugin::config_get (const std::string &name, std::string &value) const
|
||||
if (p != m_repository.end ()) {
|
||||
value = p->second;
|
||||
return true;
|
||||
} else if (mp_parent) {
|
||||
return mp_parent->config_get (name, value);
|
||||
} else {
|
||||
value = "";
|
||||
return false;
|
||||
|
||||
@@ -636,9 +636,7 @@ void
|
||||
MarkerBrowserDialog::activated ()
|
||||
{
|
||||
std::string state;
|
||||
if (lay::PluginRoot::instance ()) {
|
||||
lay::PluginRoot::instance ()->config_get (cfg_rdb_window_state, state);
|
||||
}
|
||||
view ()->config_get (cfg_rdb_window_state, state);
|
||||
lay::restore_dialog_state (this, state);
|
||||
|
||||
// Switch to the active cellview index when no valid one is set.
|
||||
|
||||
Reference in New Issue
Block a user