Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BudgetMaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robert Goldmann
BudgetMaster
Commits
65a3c9d4
Commit
65a3c9d4
authored
7 years ago
by
Robert Goldmann
Browse files
Options
Downloads
Patches
Plain Diff
Fixed wrong fade transition for payment cell
parent
4b9ffdb9
No related branches found
No related tags found
1 merge request
!213
merge v1_6_0 into master
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
BudgetMasterClient/src/main/java/de/deadlocker8/budgetmasterclient/ui/cells/PaymentCell.java
+16
-2
16 additions, 2 deletions
.../deadlocker8/budgetmasterclient/ui/cells/PaymentCell.java
with
16 additions
and
2 deletions
BudgetMasterClient/src/main/java/de/deadlocker8/budgetmasterclient/ui/cells/PaymentCell.java
+
16
−
2
View file @
65a3c9d4
...
@@ -241,8 +241,20 @@ public class PaymentCell extends ListCell<Payment>
...
@@ -241,8 +241,20 @@ public class PaymentCell extends ListCell<Payment>
if
(
selectedPayment
==
null
)
if
(
selectedPayment
==
null
)
return
;
return
;
if
(
selectedPayment
instanceof
NormalPayment
&&
item
.
getID
()
!=
selectedPayment
.
getID
())
if
(
selectedPayment
instanceof
NormalPayment
)
{
if
(
item
instanceof
NormalPayment
)
{
if
(
item
.
getID
()
!=
selectedPayment
.
getID
())
{
return
;
}
}
else
{
return
;
return
;
}
}
if
(
selectedPayment
instanceof
RepeatingPayment
)
if
(
selectedPayment
instanceof
RepeatingPayment
)
{
{
...
@@ -250,8 +262,10 @@ public class PaymentCell extends ListCell<Payment>
...
@@ -250,8 +262,10 @@ public class PaymentCell extends ListCell<Payment>
{
{
RepeatingPaymentEntry
itemRepeating
=
(
RepeatingPaymentEntry
)
item
;
RepeatingPaymentEntry
itemRepeating
=
(
RepeatingPaymentEntry
)
item
;
if
(
itemRepeating
.
getRepeatingPaymentID
()
!=
selectedPayment
.
getID
())
if
(
itemRepeating
.
getRepeatingPaymentID
()
!=
selectedPayment
.
getID
())
{
return
;
return
;
}
}
}
else
else
{
{
return
;
return
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment