show the main window (if hidden) when a new call is received

cusax-fix
Yana Stamcheva 19 years ago
parent 45ec95ccb1
commit 7a66349697

@ -482,6 +482,9 @@ public void incomingCallReceived(CallEvent event)
if (mainFrame.getState() == JFrame.ICONIFIED)
mainFrame.setState(JFrame.NORMAL);
if(!mainFrame.isVisible())
mainFrame.setVisible(true);
mainFrame.toFront();
this.callButton.setEnabled(true);

Loading…
Cancel
Save