DroidFish: Fixed problem causing progress dialog to stay visible after

rotating screen.
This commit is contained in:
Peter Osterlund 2015-12-20 08:59:42 +01:00
parent 7c4b41ebc5
commit 0ca1bfa26c
3 changed files with 6 additions and 4 deletions

View File

@ -237,7 +237,8 @@ public class EditPGN extends ListActivity {
}
private final void showList() {
progress.dismiss();
progress = null;
removeDialog(PROGRESS_DIALOG);
setContentView(R.layout.select_game);
Util.overrideFonts(findViewById(android.R.id.content));
aa = new ArrayAdapter<GameInfo>(this, R.layout.select_game_list_item, gamesInFile) {
@ -282,7 +283,6 @@ public class EditPGN extends ListActivity {
}
});
// lv.setTextFilterEnabled(true);
filterText = (EditText)findViewById(R.id.select_game_filter);
filterText.addTextChangedListener(new TextWatcher() {
@Override

View File

@ -181,7 +181,8 @@ public class LoadFEN extends ListActivity {
}
private final void showList() {
progress.dismiss();
progress = null;
removeDialog(PROGRESS_DIALOG);
setContentView(R.layout.load_fen);
cb = (ChessBoardPlay)findViewById(R.id.loadfen_chessboard);

View File

@ -214,7 +214,8 @@ public class LoadScid extends ListActivity {
}
private final void showList() {
progress.dismiss();
progress = null;
removeDialog(PROGRESS_DIALOG);
final ArrayAdapter<GameInfo> aa =
new ArrayAdapter<GameInfo>(this, R.layout.select_game_list_item, gamesInFile) {
@Override