minor fixes

This commit is contained in:
2020-06-03 22:39:48 +02:00
parent adf1bc70ce
commit 5e3c918245
4 changed files with 4 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ controller_info::controller_info(view_info *view, session_manager *sesion)
}
void controller_info::load_info(){
this->view->restart_table();
std::list<std::string> list=this->sesion->get_packages_info();
for(std::string data:list){
Gtk::TreeModel::Row row = *(this->view->m_refTreeModel->append());
@@ -38,6 +39,5 @@ void controller_info::on_button_clicked(){
if(name.find("Gtk-CRITICAL **:")==std::string::npos){
this->sesion->remove_command(name);
}
this->view->restart_table();
this->load_info();
}