Konsole plugin: Sync terminal path when the current document's url changes (e.g. first document open, save as)
This is assumed to only matter for the very first opened document where there is only 1 "Untitled" tab because KateMainWindow::viewChanged
is not emitted in that case. That is the main reason why a lambda is used and the signal is not connected to the pre-existing views before readConfig()
is called. I'm not sure if that assumption wil cause problems in the future, though.
Edited by Jan Paul Batrina