aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Fabio Bas2011-03-28 15:19:57 +0000
committerGravatar Fabio Bas2011-03-28 15:19:57 +0000
commite2a2f681869dbb7340efbd7962a6678f0ec3b252 (patch)
tree1a618fbb55dbfc5a05633894d01442b209caa2f4 /src
parentdcc video: removed debug, restored proper close of video device (diff)
downloadKVIrc-e2a2f681869dbb7340efbd7962a6678f0ec3b252.tar.gz
KVIrc-e2a2f681869dbb7340efbd7962a6678f0ec3b252.tar.bz2
KVIrc-e2a2f681869dbb7340efbd7962a6678f0ec3b252.zip
ensure that KviTextIconWindow gets the focus when shown, so keyboard can be used to navigate / close it
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5719 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
-rw-r--r--src/kvirc/ui/KviTextIconWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kvirc/ui/KviTextIconWindow.cpp b/src/kvirc/ui/KviTextIconWindow.cpp
index 8a0be9b9e..aa0792d93 100644
--- a/src/kvirc/ui/KviTextIconWindow.cpp
+++ b/src/kvirc/ui/KviTextIconWindow.cpp
@@ -55,6 +55,7 @@ KviTextIconWindow::KviTextIconWindow()
m_pTable->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
fill();
+ m_pTable->setFocus(Qt::PopupFocusReason);
connect(g_pTextIconManager,SIGNAL(changed()),this,SLOT(fill()));
connect(m_pTable,SIGNAL(cellClicked( int, int )),this,SLOT(cellSelected(int, int)));
}