D22422: Fix dir change when show hidden terminal panel with running program in it

Anthony Fieroni noreply at phabricator.kde.org
Fri Jul 12 15:40:58 BST 2019


anthonyfieroni added inline comments.

INLINE COMMENTS

> terminalpanel.cpp:180-181
>          m_terminal->showShellInDir(url().toLocalFile());
> -        changeDir(url());
> +        if(!hasProgramRunning())
> +            changeDir(url());
>          m_terminalWidget->setFocus();

Just add braces, first on same line as condition.

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D22422

To: AndreyYashkin, #dolphin
Cc: anthonyfieroni, kfm-devel, fprice, fbampaloukas, alexde, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190712/6b74ce0b/attachment.htm>


More information about the kfm-devel mailing list