method added for adding a call record

cusax-fix
Yana Stamcheva 20 years ago
parent 642740eda0
commit 43e452dae2

@ -125,7 +125,8 @@ private void loadHistoryCalls(Collection historyCalls)
direction));
}
}
this.callList.addItem(Messages.getString("olderCalls") + "...");
if(callList.getModel().getSize() > 0)
this.callList.addItem(Messages.getString("olderCalls") + "...");
}
/**
@ -282,4 +283,14 @@ public CallList getCallList()
{
return callList;
}
public void addCallRecord(int index, GuiCallParticipantRecord callRecord)
{
this.callList.addItem(callRecord, index);
String participantName = callRecord.getParticipantName();
this.addToCallComboBox(participantName);
this.addToSearchComboBox(participantName);
}
}

Loading…
Cancel
Save