summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qwizard_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/qwizard_win.cpp')
-rw-r--r--src/gui/dialogs/qwizard_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qwizard_win.cpp b/src/gui/dialogs/qwizard_win.cpp
index f9bfca8..2e69437 100644
--- a/src/gui/dialogs/qwizard_win.cpp
+++ b/src/gui/dialogs/qwizard_win.cpp
@@ -531,7 +531,7 @@ void QVistaHelper::mousePressEvent(QMouseEvent *event)
{
change = noChange;
- if (wizard->windowState() & Qt::WindowMaximized) {
+ if (event->button() != Qt::LeftButton || wizard->windowState() & Qt::WindowMaximized) {
event->ignore();
return;
}