This commit is contained in:
gac-S_Changer
2019-02-12 13:44:32 +01:00
parent 3359ffce53
commit 58f1402f73
3 changed files with 76 additions and 16 deletions

View File

@@ -133,8 +133,10 @@ public class DevicesPanel extends javax.swing.JPanel {
DevicePanel showDevicePanel(String device){
if (isActive()){
try{
return Controller.getInstance().getMainFrame().showDevicePanel(device);
try{
DevicePanel ret = Controller.getInstance().getMainFrame().showDevicePanel(device);
Controller.getInstance().getMainFrame().onExpertCommand(SwingUtils.getWindow(ret));
return ret;
} catch (Exception ex) {
SwingUtils.showException(this, ex);
}