[X2Go-Commits] [x2goclient] 01/01: Session name autocomplition only for sessions in current folder.
git-admin at x2go.org
git-admin at x2go.org
Thu Aug 14 13:25:34 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 04f04412093161221d2636f711ff0fa1501e941f
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date: Thu Aug 14 13:25:29 2014 +0200
Session name autocomplition only for sessions in current folder.
---
debian/changelog | 1 +
onmainwindow.cpp | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 744fa33..e974475 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ x2goclient (4.0.3.0-0x2go1) UNRELEASED; urgency=low
- Add support for sessions folders.
- Add folder explorer - GUI to management of sessions folders.
- Support for sessions folders in sessionmanagedialog.
+ - Session name autocomplition only for sessions in current folder.
[ Mike DePaulo ]
* New upstream release (4.0.3.0):
diff --git a/onmainwindow.cpp b/onmainwindow.cpp
index 69be30f..9ea6817 100644
--- a/onmainwindow.cpp
+++ b/onmainwindow.cpp
@@ -2455,6 +2455,8 @@ void ONMainWindow::slotSnameChanged ( const QString& text )
QList<SessionButton*>::iterator endit=sessionExplorer->getSessionsList()->end();
for ( it=sessionExplorer->getSessionsList()->begin(); it!=endit; it++ )
{
+ if((*it)->getPath()!=sessionExplorer->getCurrentPath())
+ continue;
QString name= ( *it )->name();
if ( name.indexOf ( text,0,Qt::CaseInsensitive ) ==0 )
{
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list