fix - MacOS - Black screen when saving files with a hotkey

This commit is contained in:
Yuriy Puchkov
2020-12-03 16:18:30 +02:00
parent 13d059daa1
commit b4be86068d
2 changed files with 4 additions and 1 deletions

View File

@@ -1132,6 +1132,10 @@ void CaptureWidget::copyScreenshot()
void CaptureWidget::saveScreenshot()
{
#if (defined(Q_OS_MAC) || defined(Q_OS_MAC64) || defined(Q_OS_MACOS) || \
defined(Q_OS_MACX))
showNormal();
#endif
m_captureDone = true;
if (m_activeTool != nullptr) {
QPainter painter(&m_context.screenshot);