Commit 30e7d012 authored by Minh Hiep Pham's avatar Minh Hiep Pham 💬
Browse files

handled bring to back after cloning

parent ef4f0236
......@@ -2450,7 +2450,7 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
JOptionPane.showMessageDialog(mgui.getFrame(), "Clone creation failed", "Exception", JOptionPane.INFORMATION_MESSAGE);
}
bringToBack(_tgc);
bringToBack(_tgc.getTopFather());
for (int i = 0; i < componentList.size(); i ++){
if (componentList.get(i) instanceof TGConnector) {
TGComponent t = componentList.get(i);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment