branch feature/1170_Mauvais_focus_sur_saisie_ecriture created (now 0fd28da)
This is an automated email from the git hooks/post-receive script. New change to branch feature/1170_Mauvais_focus_sur_saisie_ecriture in repository lima. See http://git.chorem.org/lima.git at 0fd28da fixes #1170 Correction du focus sur l'édition des entrées, nouvelle transaction focus sur date, nouvelle entrée focus sur pièce comptable This branch includes the following new commits: new 0fd28da fixes #1170 Correction du focus sur l'édition des entrées, nouvelle transaction focus sur date, nouvelle entrée focus sur pièce comptable The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 0fd28da8c5d9a83de1f189dce6e7be938f6693dc Author: dcosse <japbiw74> Date: Thu Feb 19 12:50:33 2015 +0100 fixes #1170 Correction du focus sur l'édition des entrées, nouvelle transaction focus sur date, nouvelle entrée focus sur pièce comptable -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/1170_Mauvais_focus_sur_saisie_ecriture in repository lima. See http://git.chorem.org/lima.git commit 0fd28da8c5d9a83de1f189dce6e7be938f6693dc Author: dcosse <japbiw74> Date: Thu Feb 19 12:50:33 2015 +0100 fixes #1170 Correction du focus sur l'édition des entrées, nouvelle transaction focus sur date, nouvelle entrée focus sur pièce comptable --- .../ui/financialtransaction/FinancialTransactionViewHandler.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionViewHandler.java index a4e54cd..1686794 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionViewHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionViewHandler.java @@ -553,8 +553,9 @@ public class FinancialTransactionViewHandler implements ServiceListener, TableMo } ListSelectionModel selectionModel = table.getSelectionModel(); selectionModel.setSelectionInterval(addIndex, addIndex); - table.changeSelection(addIndex, 1, false, false); - table.editCellAt(addIndex, 1); + // set focus on date + table.changeSelection(addIndex, 0, false, false); + table.editCellAt(addIndex, 0); table.scrollRowToVisible(Math.max(0, addIndex - 5)); table.scrollRowToVisible(Math.min(tableModel.size() - 1, addIndex + 5)); } catch (LockedFinancialPeriodException e) { @@ -659,6 +660,7 @@ public class FinancialTransactionViewHandler implements ServiceListener, TableMo ListSelectionModel selectionModel = table.getSelectionModel(); selectionModel.setSelectionInterval( row, row); + // set focus on voucher table.changeSelection(row, 1, false, false); table.editCellAt(row, 1); } catch (LockedFinancialPeriodException e) { -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm