MainWindow: Don't use get_active_view() to determine active session
authorSoeren Apel <soeren@apelpie.net>
Tue, 11 Oct 2016 13:55:55 +0000 (15:55 +0200)
committerSoeren Apel <soeren@apelpie.net>
Sun, 4 Dec 2016 13:37:37 +0000 (14:37 +0100)
While it would be neat if it worked, it unfortunately doesn't as
the currently focused item may not be related to any view - e.g.
when one of the tabs of the QTabWidget was clicked.
For this reason, we store the last session the user interacted
with and treat it as the currently focused session.


No differences found