Merge pull request #1632 from TomHennen/fix_filter_radiobtn
Set 'filterInclude' properly
This commit is contained in:
commit
47eab093ca
|
@ -224,10 +224,12 @@ public class FeedInfoActivity extends ActionBarActivity {
|
||||||
etxtFilterText.setText(filter.getIncludeFilter());
|
etxtFilterText.setText(filter.getIncludeFilter());
|
||||||
rdoFilterInclude.setChecked(true);
|
rdoFilterInclude.setChecked(true);
|
||||||
rdoFilterExclude.setChecked(false);
|
rdoFilterExclude.setChecked(false);
|
||||||
|
filterInclude = true;
|
||||||
} else if (filter.excludeOnly()) {
|
} else if (filter.excludeOnly()) {
|
||||||
etxtFilterText.setText(filter.getExcludeFilter());
|
etxtFilterText.setText(filter.getExcludeFilter());
|
||||||
rdoFilterInclude.setChecked(false);
|
rdoFilterInclude.setChecked(false);
|
||||||
rdoFilterExclude.setChecked(true);
|
rdoFilterExclude.setChecked(true);
|
||||||
|
filterInclude = false;
|
||||||
} else {
|
} else {
|
||||||
Log.d(TAG, "No filter set");
|
Log.d(TAG, "No filter set");
|
||||||
rdoFilterInclude.setChecked(false);
|
rdoFilterInclude.setChecked(false);
|
||||||
|
|
Loading…
Reference in New Issue