Mercurial > hg > syntilista
comparison src/main.cpp @ 249:cfaf03d8d23e
Disable doubleclick edit of users for now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 08 May 2018 13:29:46 +0300 |
parents | 4f947840c806 |
children | 4d2b37a0acf2 |
comparison
equal
deleted
inserted
replaced
248:4f947840c806 | 249:cfaf03d8d23e |
---|---|
820 person->setPerson(currPerson.id); | 820 person->setPerson(currPerson.id); |
821 } | 821 } |
822 } | 822 } |
823 | 823 |
824 | 824 |
825 /* | |
825 void SyntilistaMainWindow::on_tableview_People_doubleClicked(const QModelIndex &curr) | 826 void SyntilistaMainWindow::on_tableview_People_doubleClicked(const QModelIndex &curr) |
826 { | 827 { |
827 int row = curr.row(); | 828 int row = curr.row(); |
828 if (row >= 0) | 829 if (row >= 0) |
829 { | 830 { |
834 person->setPerson(currPerson.id); | 835 person->setPerson(currPerson.id); |
835 } | 836 } |
836 else | 837 else |
837 setActivePerson(-1); | 838 setActivePerson(-1); |
838 } | 839 } |
840 */ | |
839 | 841 |
840 | 842 |
841 void SyntilistaMainWindow::on_button_ClearFilter_clicked() | 843 void SyntilistaMainWindow::on_button_ClearFilter_clicked() |
842 { | 844 { |
843 ui->edit_PersonFilter->clear(); | 845 ui->edit_PersonFilter->clear(); |