diff --git a/src/gui/edit_label_methods/editlabelmethods.cpp b/src/gui/edit_label_methods/editlabelmethods.cpp
index c494d1aa52ab197ecb0590a9496951cc220ed0f8..e59a14685d002b2e19e753c89c3d58abbb3852df 100644
--- a/src/gui/edit_label_methods/editlabelmethods.cpp
+++ b/src/gui/edit_label_methods/editlabelmethods.cpp
@@ -36,7 +36,7 @@ EditLabelMethods::EditLabelMethods(ProjectWindow *parent):
     _project_window = parent;
     _p_label_method_str_li = new QStandardItemModel();
     ui->method_list_view->setModel(_p_label_method_str_li);
-
+this->setModal(true);
 
 #if QT_VERSION >= 0x050000
     // Qt5 code