Fixes cancel operation on select screen dialog while initiating desktop sharing.

cusax-fix
Yana Stamcheva 15 years ago
parent e237a844f4
commit 2015f01336

@ -311,9 +311,10 @@ else if (deviceNumber > 1)
selectDialog.setVisible(true);
createDesktopSharing( protocolProvider,
contact,
selectDialog.getSelectedDevice());
if (selectDialog.getSelectedDevice() != null)
createDesktopSharing( protocolProvider,
contact,
selectDialog.getSelectedDevice());
}
}
@ -424,8 +425,9 @@ else if (deviceNumber > 1)
selectDialog.setVisible(true);
enableDesktopSharing(
call, selectDialog.getSelectedDevice(), enable);
if (selectDialog.getSelectedDevice() != null)
enableDesktopSharing(
call, selectDialog.getSelectedDevice(), enable);
}
}

@ -134,6 +134,7 @@ public void actionPerformed(ActionEvent e)
{
public void actionPerformed(ActionEvent e)
{
selectedDevice = null;
dispose();
}
});

Loading…
Cancel
Save