summaryrefslogtreecommitdiff
path: root/office/texmaker/focus.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/texmaker/focus.patch')
-rw-r--r--office/texmaker/focus.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/office/texmaker/focus.patch b/office/texmaker/focus.patch
new file mode 100644
index 0000000000..dfbafc0d8f
--- /dev/null
+++ b/office/texmaker/focus.patch
@@ -0,0 +1,11 @@
+--- texmaker-1.9/texmaker.cpp.orig 2009-05-21 12:56:32.047389802 -0300
++++ texmaker-1.9/texmaker.cpp 2009-05-21 12:56:33.936554284 -0300
+@@ -402,6 +402,8 @@
+ CentralLayout->setMargin(0);
+ CentralLayout->addWidget(centralToolBar);
+ EditorView=new QTabWidget(centralFrame);
++EditorView->setFocusPolicy(Qt::ClickFocus);
++EditorView->setFocus();
+ EditorView->setTabsClosable(true);
+ connect(EditorView, SIGNAL( currentChanged( int ) ), this, SLOT(UpdateCaption()) );
+ CentralLayout->addWidget(EditorView);