mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 12:44:23 -04:00
BUG: 152449
This makes sure that if you create a new tab it will always inherit the current dir, unless the profile you use (either the default using 'new tab' or using a profile specifically) has a directory set. In which case it will go to that dir. svn path=/trunk/KDE/kdebase/apps/konsole/; revision=749736
This commit is contained in:
@@ -288,6 +288,8 @@ void Session::run()
|
||||
QString cwd_save = QDir::currentPath();
|
||||
if (!_initialWorkingDir.isEmpty())
|
||||
_shellProcess->setWorkingDirectory(_initialWorkingDir);
|
||||
else
|
||||
_shellProcess->setWorkingDirectory(QDir::homePath());
|
||||
|
||||
_shellProcess->setXonXoff(_flowControl);
|
||||
_shellProcess->setErase(_emulation->getErase());
|
||||
|
||||
Reference in New Issue
Block a user