]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinTabPage: deactivate secondary view after closing split view
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Wed, 25 Apr 2018 11:42:18 +0000 (13:42 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Wed, 25 Apr 2018 11:42:18 +0000 (13:42 +0200)
commit362244ccbe694442b9145bbcea975f91b4c44af1
treedccb352b8f5bfd9e2a18b942fcc2c6b5bbf3837a
parent9ec813597430db05326c24a8e0e07c5539387e27
DolphinTabPage: deactivate secondary view after closing split view

We deactivate the previously active view container whenever we change the active
split view, but we never do the same when we close the split view.

Long term we should probably even delete the secondary view after
closing the split view, because it will never be used again and the
pointer will be overwritten the next time the user opens the split view.
src/dolphintabpage.cpp
src/tests/dolphinmainwindowtest.cpp