fix sortedDocumentList menu not changing focus on Mac

Authored by rjvbb on Aug 7 2017, 2:44 PM.

Description

fix sortedDocumentList menu not changing focus on Mac

Sublime::Container::setCurrentWidget() used a QSignalBlocker to prevent
MainWindow::activateView() from being called twice. As a result, the
focus wasn't updated when changing documents with the sortedDocumentList
menu widget on Mac. This commit fixes that side-effect by using a simpler
approach where both functions only take action when setting/activating a
widget/view that is not already current.

Details

Committed
rjvbbAug 7 2017, 2:44 PM
Parents
R33:ed4256673e82: Make Qt5::QuickWidgets a RECOMMENDED dependency
Branches
Unknown
Tags
Unknown