1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-22 08:13:43 +02:00

diagram labels don't disappear anymore after fragment changes

This commit is contained in:
OliE
2015-01-04 17:27:10 +01:00
parent 281e737d76
commit f9d2c6fa6b

View File

@@ -97,6 +97,7 @@ public class GraphFragment extends Fragment implements FragmentUpdateListener {
public void onClick(View view) {
calYears.roll(Calendar.YEAR, false);
txtYear.setText(Integer.toString(calYears.get(Calendar.YEAR)));
valueLastSelected = null;
updateOnView(null);
}
});
@@ -105,6 +106,7 @@ public class GraphFragment extends Fragment implements FragmentUpdateListener {
public void onClick(View view) {
calYears.roll(Calendar.YEAR, true);
txtYear.setText(Integer.toString(calYears.get(Calendar.YEAR)));
valueLastSelected = null;
updateOnView(null);
}
});