diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index b22d8dd..9d35089 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -322,6 +322,11 @@ void yon_update_page(main_window *widgets){ while(gtk_events_pending()) gtk_main_iteration(); yon_page_init(widgets,page); g_signal_handlers_unblock_by_func(G_OBJECT(widgets->db_lock_monitor),G_CALLBACK(yon_db_unlock_update),widgets); + if (page == YON_PAGE_PACMAN_SOFTWARE){ + const char *search_string = gtk_entry_get_text(GTK_ENTRY(widgets->PacmanSoftwareSearchEntry)); + if (!yon_char_is_empty(search_string)) on_pacman_search_enter(GTK_ENTRY(widgets->PacmanSoftwareSearchEntry),widgets); + g_hash_table_remove_all(widgets->pacmanchosen); + } on_status_update(NULL,widgets); }