mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 12:44:23 -04:00
Set correct focus in the "rename tab" dialog.
Currently, the OK button has the focus upon startup. After patch, the user doesn't need to remember if they need to adjust the remote or local title. Patch by Sebastian Kühn http://git.reviewboard.kde.org/r/100642/
This commit is contained in:
@@ -897,6 +897,14 @@ bool Session::updateForegroundProcessInfo()
|
||||
return valid;
|
||||
}
|
||||
|
||||
bool Session::isRemote()
|
||||
{
|
||||
ProcessInfo* process = getProcessInfo();
|
||||
|
||||
bool ok = false;
|
||||
return ( process->name(&ok) == "ssh" && ok );
|
||||
}
|
||||
|
||||
QString Session::getDynamicTitle()
|
||||
{
|
||||
// update current directory from process
|
||||
|
||||
Reference in New Issue
Block a user