summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (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
@@ -513,4 +513,9 @@ 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();