summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/Trellis/QtGridSelectionDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp b/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp
index 3bcdfa0..a3a1bf8 100644
--- a/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp
+++ b/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp
@@ -21,7 +21,7 @@ QtGridSelectionDialog::QtGridSelectionDialog(QWidget* parent) : QWidget(parent)
minGridSize = QSize(1,1);
currentGridSize = QSize(1,1);
padding = 4;
- setWindowFlags(Qt::Popup);
+ setWindowFlags(Qt::FramelessWindowHint);
setCursor(Qt::SizeAllCursor);
horizontalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin) * 2;
verticalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin) * 2;