summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmdiarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qmdiarea.cpp')
-rw-r--r--src/gui/widgets/qmdiarea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmdiarea.cpp b/src/gui/widgets/qmdiarea.cpp
index 0006a90..be9831d 100644
--- a/src/gui/widgets/qmdiarea.cpp
+++ b/src/gui/widgets/qmdiarea.cpp
@@ -620,7 +620,7 @@ void QMdiAreaTabBar::contextMenuEvent(QContextMenuEvent *event)
subWindowPrivate->setVisible(QMdiSubWindowPrivate::ResizeAction, false);
subWindowPrivate->setVisible(QMdiSubWindowPrivate::MinimizeAction, false);
subWindowPrivate->setVisible(QMdiSubWindowPrivate::MaximizeAction, false);
- subWindowPrivate->setVisible(QMdiSubWindowPrivate::MaximizeAction, false);
+ subWindowPrivate->setVisible(QMdiSubWindowPrivate::RestoreAction, false);
subWindowPrivate->setVisible(QMdiSubWindowPrivate::StayOnTopAction, false);
}