From: Soeren Apel Date: Tue, 11 Oct 2016 13:55:55 +0000 (+0200) Subject: MainWindow: Don't use get_active_view() to determine active session X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=33bedfc1262f3a6772f6a741144baf90790297fb;hp=33bedfc1262f3a6772f6a741144baf90790297fb;p=pulseview.git MainWindow: Don't use get_active_view() to determine active session 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. ---