Skip to content

Commit

Permalink
Hide window after Auto-Type if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu committed Jul 5, 2020
1 parent 2db412c commit 2d647aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/autotype/AutoType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ void AutoType::performAutoTypeFromGlobal(AutoTypeMatch match)
#if defined(Q_OS_MACOS)
if (m_windowState == WindowState::Minimized) {
getMainWindow()->showMinimized();
} else if (m_windowState == WindowState::Hidden) {
m_plugin->hideOwnWindow();
}
#endif
}
Expand Down

0 comments on commit 2d647aa

Please sign in to comment.