mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-06 20:29:10 +01:00
DroidFish: Fixed problem causing progress dialog to stay visible after
rotating screen.
This commit is contained in:
parent
7c4b41ebc5
commit
0ca1bfa26c
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user