Skip to content
Snippets Groups Projects
Commit 08f480f0 authored by Andreas Schenk's avatar Andreas Schenk
Browse files

set focus to python shell after insert from MIME

parent 68e54ae2
No related branches found
No related tags found
No related merge requests found
...@@ -885,6 +885,7 @@ void PythonShellWidget::insertFromMimeData(const QMimeData * source) ...@@ -885,6 +885,7 @@ void PythonShellWidget::insertFromMimeData(const QMimeData * source)
if(lines.size()>0){ if(lines.size()>0){
set_block_type_(block_edit_start_,document()->lastBlock(),BLOCKTYPE_BLOCKEDIT); set_block_type_(block_edit_start_,document()->lastBlock(),BLOCKTYPE_BLOCKEDIT);
} }
setFocus();
} }
GutterBlockList PythonShellWidget::GetGutterBlocks(const QRect& rect) GutterBlockList PythonShellWidget::GetGutterBlocks(const QRect& rect)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment