77
76
ui.kAccountTableViewEdition->insertAction ( 0, iParent->getGlobalAction ( "open_report" ) );
79
78
connect ( ui.kAccountTableViewEdition->selectionModel(), SIGNAL ( selectionChanged ( QItemSelection,QItemSelection ) ), this, SLOT ( onSelectionChanged() ) );
80
connect ( objectModel, SIGNAL ( modelAboutToBeReset() ), ui.kAccountTableViewEdition, SLOT ( saveSelection() ) );
81
connect ( objectModel, SIGNAL ( modelReset() ), ui.kAccountTableViewEdition, SLOT ( resetSelection() ) );
79
connect ( objectModel, SIGNAL ( beforeReset() ), ui.kAccountTableViewEdition, SLOT ( saveSelection() ) );
80
connect ( objectModel, SIGNAL ( afterReset() ), ui.kAccountTableViewEdition, SLOT ( resetSelection() ) );
83
82
ui.kAccountTableViewEdition->sortByColumn ( 0, Qt::AscendingOrder );