Fix insert point after filling in textview
[claws.git] / src / textview.c
index e5cdb66b9967f187f945a3df4cd94c86ac3e5f46..37456dfb647a81d32877ff3d1c46a82407a26331 100644 (file)
@@ -641,6 +641,8 @@ void textview_show_part(TextView *textview, MimeInfo *mimeinfo, FILE *fp)
 
                textview->loading = FALSE;
                textview->stop_loading = FALSE;
+               textview_set_position(textview, 0);
+
                END_TIMING();
                return;
        }
@@ -659,6 +661,8 @@ void textview_show_part(TextView *textview, MimeInfo *mimeinfo, FILE *fp)
 
        textview->loading = FALSE;
        textview->stop_loading = FALSE;
+
+       textview_set_position(textview, 0);
        END_TIMING();
 }