summaryrefslogtreecommitdiff
path: root/office/texmaker/focus.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 01:00:39 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 01:00:39 +0200
commitedf747d9be804b1021c43d657d630297ca0c4fcc (patch)
treeacee30a8bc1cb4ea9dd85c932ce598cf53ecc8ba /office/texmaker/focus.patch
parent1d39427c14970a5903e946d208e75bb22f3ca1df (diff)
downloadslackbuilds-edf747d9be804b1021c43d657d630297ca0c4fcc.tar.gz
office/texmaker: Added to 13.0 repository
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);