Skip to content
Snippets Groups Projects
Commit b4e0d1ee authored by adam-m's avatar adam-m
Browse files

do not call super.done() after got extracted text

parent b534672b
No related branches found
No related tags found
No related merge requests found
...@@ -353,6 +353,9 @@ public MarkupSource getSelectedSource() { ...@@ -353,6 +353,9 @@ public MarkupSource getSelectedSource() {
} }
private void setPanelText(String text) { private void setPanelText(String text) {
if (text == null ) {
text = "";
}
extractedTextPane.setText(text); extractedTextPane.setText(text);
extractedTextPane.setCaretPosition(0); extractedTextPane.setCaretPosition(0);
} }
...@@ -593,7 +596,7 @@ protected Object doInBackground() throws Exception { ...@@ -593,7 +596,7 @@ protected Object doInBackground() throws Exception {
@Override @Override
protected void done() { protected void done() {
super.done(); //super.done();
progress.finish(); progress.finish();
if (markup != null) { if (markup != null) {
setPanelText(markup); setPanelText(markup);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment