diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 913a3c2ad..310493cf2 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -233,7 +233,7 @@ void AutoType::executeAutoTypeActions(const Entry* entry, QWidget* hideWindow, c macUtils()->raiseLastActiveWindow(); m_plugin->hideOwnWindow(); #else - hideWindow->showMinimized(); + getMainWindow()->minimizeOrHide(); #endif }