The phone number and text were erroneously reset when sending messages
This commit is contained in:
parent
566115fff8
commit
ad7bdcc9c0
@ -2365,7 +2365,7 @@ void phone_write_send(Phone * phone)
|
||||
size_t length;
|
||||
GSMEncoding encoding = GSM_ENCODING_UTF8;
|
||||
|
||||
phone_show_write(phone, TRUE, "", "");
|
||||
phone_show_write(phone, TRUE, NULL, NULL);
|
||||
number = gtk_entry_get_text(GTK_ENTRY(phone->wr_entry));
|
||||
tbuf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(phone->wr_view));
|
||||
gtk_text_buffer_get_start_iter(GTK_TEXT_BUFFER(tbuf), &start);
|
||||
|
Loading…
Reference in New Issue
Block a user