minor fixes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user