Entries emptiness checks

pull/129/head
Ivan Yartsev 6 months ago
parent e950ee0dd0
commit b39594d026

@ -1118,7 +1118,7 @@ void on_logrotate_save(GtkWidget *, dictionary *dict){
if (active==2){
const char *text = gtk_entry_get_text(GTK_ENTRY(window->FileAmountEntry));
if (yon_char_is_empty(text)){
yon_ubl_status_box_spawn(window->StatusBox,EMPTY_IMPORTANT_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),EMPTY_IMPORTANT_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
yon_ubl_status_highlight_incorrect(window->FileAmountEntry);
return;
}

Loading…
Cancel
Save