Merge pull request #6953 from spycrab/qt_map_unresponsive
Qt/MappingButton: Fix window becoming unresponsive after mapping
This commit is contained in:
commit
a60bba37cd
|
@ -106,7 +106,6 @@ void MappingButton::Detect()
|
|||
|
||||
installEventFilter(BlockUserInputFilter::Instance());
|
||||
grabKeyboard();
|
||||
grabMouse();
|
||||
|
||||
// Make sure that we don't block event handling
|
||||
std::thread thread([this] {
|
||||
|
@ -169,7 +168,6 @@ void MappingButton::Detect()
|
|||
m_parent->GetController()->GetDefaultDevice());
|
||||
}
|
||||
|
||||
releaseMouse();
|
||||
releaseKeyboard();
|
||||
removeEventFilter(BlockUserInputFilter::Instance());
|
||||
|
||||
|
|
Loading…
Reference in New Issue