Fix contact-editing

This commit is contained in:
Jaidyn Ann 2021-08-19 17:25:18 -05:00
parent 00ee662988
commit cad278205c
2 changed files with 1 additions and 2 deletions

View File

@ -130,7 +130,6 @@ RosterEditWindow::MessageReceived(BMessage* message)
fEditingWindow->Quit(); fEditingWindow->Quit();
fEditingUser.SetTo(""); fEditingUser.SetTo("");
} }
int index = message->FindInt32("index"); int index = message->FindInt32("index");
RosterItem* ritem = fRosterView->ListView()->RosterItemAt(index); RosterItem* ritem = fRosterView->ListView()->RosterItemAt(index);
const char* search = fRosterView->SearchBox()->Text(); const char* search = fRosterView->SearchBox()->Text();

View File

@ -38,7 +38,7 @@ TemplateWindow::TemplateWindow(const char* title, const char* templateType,
BWindow(BRect(0, 0, 400, 100), title, B_FLOATING_WINDOW, BWindow(BRect(0, 0, 400, 100), title, B_FLOATING_WINDOW,
B_NOT_RESIZABLE | B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE), B_NOT_RESIZABLE | B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE),
fServer(server), fServer(server),
fSelectedAcc(-1), fSelectedAcc(instance),
fTemplate(NULL), fTemplate(NULL),
fTemplateType(templateType), fTemplateType(templateType),
fMessage(msg), fMessage(msg),