summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/IconPickerDialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/IconPickerDialog.cpp b/gui/IconPickerDialog.cpp
index d3a33e57..b75eb30c 100644
--- a/gui/IconPickerDialog.cpp
+++ b/gui/IconPickerDialog.cpp
@@ -11,6 +11,8 @@ IconPickerDialog::IconPickerDialog(QWidget *parent) :
ui(new Ui::IconPickerDialog)
{
ui->setupUi(this);
+ setWindowModality(Qt::WindowModal);
+
auto contentsWidget = ui->iconView;
contentsWidget->setViewMode(QListView::IconMode);
contentsWidget->setFlow(QListView::LeftToRight);