This commit is contained in:
gac-S_Changer
2018-08-10 17:07:54 +02:00
parent 98965938d2
commit 3d571e8a4e
2 changed files with 8 additions and 5 deletions

View File

@@ -61,10 +61,8 @@
<Component id="jPanel4" linkSize="2" max="32767" attributes="0"/>
<Component id="jPanel7" linkSize="2" alignment="0" max="32767" attributes="0"/>
<Component id="jPanel13" linkSize="2" max="32767" attributes="0"/>
<Group type="103" alignment="1" groupAlignment="0" max="-2" attributes="0">
<Component id="jPanel8" linkSize="2" alignment="1" max="32767" attributes="0"/>
<Component id="jPanel12" linkSize="2" alignment="1" max="32767" attributes="0"/>
</Group>
<Component id="jPanel8" linkSize="2" alignment="1" max="32767" attributes="0"/>
<Component id="jPanel12" linkSize="2" alignment="1" max="32767" attributes="0"/>
<Component id="jPanel10" linkSize="2" alignment="1" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>

View File

@@ -294,7 +294,12 @@ public class MainPanel extends Panel {
panelDetection.setVisible(expert);
if (checkExpert.isSelected()!=expert){
checkExpert.setSelected(expert);
checkExpert.setSelected(expert);
}
if (expert==false){
buttonCamera.setSelected(false);
buttonDrawing.setSelected(true);
updateViewType();
}
}