Commit beed7f1f authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Reset selected connection type when hiding the connection palette in the PLC editor.

parent 37a61021
......@@ -297,6 +297,8 @@ void WFoeQtWidget::activate_palette_con()
foe->nav_palette->setVisible(false);
foe->node_palette->setVisible(false);
foe->con_palette->setVisible(true);
foe->node_palette_managed = 0;
foe->nav_palette_managed = 0;
foe->con_palette_managed = 1;
foe->con_palctx->set_inputfocus(1);
}
......@@ -311,6 +313,8 @@ void WFoeQtWidget::activate_palette_object()
foe->con_palette->setVisible(false);
foe->nav_palette->setVisible(false);
foe->node_palette->setVisible(true);
foe->con_palette_managed = 0;
foe->nav_palette_managed = 0;
foe->node_palette_managed = 1;
foe->node_palctx->set_inputfocus(1);
}
......@@ -355,6 +359,8 @@ void WFoeQtWidget::activate_palette_plant()
foe->con_palette->setVisible(false);
foe->node_palette->setVisible(false);
foe->nav_palette->setVisible(true);
foe->con_palette_managed = 0;
foe->node_palette_managed = 0;
foe->nav_palette_managed = 1;
foe->navctx->set_inputfocus(1);
}
......
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