diff options
| author | 2008-09-20 15:59:26 +0000 | |
|---|---|---|
| committer | 2008-09-20 15:59:26 +0000 | |
| commit | 20410d764ec2a304cf600eb97f489255a175f952 (patch) | |
| tree | 3c21e44cf030c608cff65d2013b7991d5df8ae20 /src/modules/options/optw_proxy.cpp | |
| parent | missing piece of previous commit (diff) | |
| download | KVIrc-20410d764ec2a304cf600eb97f489255a175f952.tar.gz KVIrc-20410d764ec2a304cf600eb97f489255a175f952.tar.bz2 KVIrc-20410d764ec2a304cf600eb97f489255a175f952.zip | |
more fixes on options module: in the "config kvirc" section everything should work
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2514 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_proxy.cpp')
| -rw-r--r-- | src/modules/options/optw_proxy.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/options/optw_proxy.cpp b/src/modules/options/optw_proxy.cpp index 7473fe5b0..db6a111fb 100644 --- a/src/modules/options/optw_proxy.cpp +++ b/src/modules/options/optw_proxy.cpp @@ -162,6 +162,7 @@ void KviProxyOptionsWidget::fillProxyList() if(p == g_pProxyDataBase->currentProxy()) { prx->setSelected(true); + m_pTreeWidget->setCurrentItem(prx); m_pTreeWidget->scrollToItem(prx); } } @@ -330,6 +331,7 @@ void KviProxyOptionsWidget::newProxy() KviProxy prx; KviProxyOptionsTreeWidgetItem * it = new KviProxyOptionsTreeWidgetItem(m_pTreeWidget,*(g_pIconManager->getSmallIcon(KVI_SMALLICON_PROXY)),&prx); it->setSelected(true); + m_pTreeWidget->setCurrentItem(it); m_pTreeWidget->scrollToItem(it); } |
