summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 21de5c0..eaa78c8 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -512,6 +512,11 @@ void MainWindow::slotProfile( int id) {
void MainWindow::create( const Profile& prof ) {
+ char *homeDir = getenv("HOME");
+
+ if ( homeDir )
+ ::chdir( homeDir );
+
if(m_curSession)
if(m_curSession->transferDialog()) m_curSession->transferDialog()->hide();