mirror of https://github.com/KLayout/klayout.git
Bugfix: put the tech selector to the right position in the toolbar.
This commit is contained in:
parent
6b65080738
commit
67b4fb33fc
|
|
@ -1177,20 +1177,22 @@ AbstractMenu::find_item (const std::string &p)
|
|||
return path_type ();
|
||||
}
|
||||
|
||||
} else if (extr.test ("begin")) {
|
||||
} else {
|
||||
|
||||
std::string n;
|
||||
extr.read (n, ".+>(");
|
||||
|
||||
if (n == "begin") {
|
||||
|
||||
iter = parent->children.begin ();
|
||||
|
||||
} else if (extr.test ("end")) {
|
||||
} else if (n == "end") {
|
||||
|
||||
iter = parent->children.end ();
|
||||
|
||||
} else {
|
||||
|
||||
std::string n, nn;
|
||||
|
||||
extr.read (n, ".+>(");
|
||||
|
||||
std::string nn;
|
||||
if (extr.test (">")) {
|
||||
extr.read (nn, ".+>(");
|
||||
}
|
||||
|
|
@ -1267,6 +1269,8 @@ AbstractMenu::find_item (const std::string &p)
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
path.push_back (std::make_pair (parent, iter));
|
||||
|
||||
extr.test (".");
|
||||
|
|
|
|||
Loading…
Reference in New Issue