[ 2020194 ] Select BP from BP info with double-click
- miss someline when merging from 343
This commit is contained in:
parent
fb1cafb9ec
commit
de705067d1
|
@ -857,10 +857,11 @@ public abstract class InfoPanel extends Window implements EventListener, WTableM
|
|||
{
|
||||
if (event.getTarget().equals(confirmPanel.getButton(ConfirmPanel.A_OK)))
|
||||
{
|
||||
if (!contentPanel.getChildren().isEmpty() && contentPanel.getSelectedRowKey()!=null)
|
||||
{
|
||||
dispose(true);
|
||||
}
|
||||
onOk();
|
||||
}
|
||||
else if (event.getTarget() == contentPanel && event.getName().equals(Events.ON_DOUBLE_CLICK))
|
||||
{
|
||||
onOk();
|
||||
}
|
||||
else if (event.getTarget().equals(confirmPanel.getButton(ConfirmPanel.A_REFRESH)))
|
||||
{
|
||||
|
@ -927,6 +928,14 @@ public abstract class InfoPanel extends Window implements EventListener, WTableM
|
|||
}
|
||||
} // onEvent
|
||||
|
||||
private void onOk()
|
||||
{
|
||||
if (!contentPanel.getChildren().isEmpty() && contentPanel.getSelectedRowKey()!=null)
|
||||
{
|
||||
dispose(true);
|
||||
}
|
||||
}
|
||||
|
||||
public void tableChanged(WTableModelEvent event)
|
||||
{
|
||||
enableButtons();
|
||||
|
|
Loading…
Reference in New Issue