This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user