When an error message is shown its widget must be placed always on top of all other windows. Also the user shouldn't be able to do anything else, before closing the error message widget. Signed-off-by: Yordan Karadzhov <ykaradzhov@xxxxxxxxxx> --- kernel-shark-qt/src/KsMainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel-shark-qt/src/KsMainWindow.cpp b/kernel-shark-qt/src/KsMainWindow.cpp index b3cbc3b..4f9a6e2 100644 --- a/kernel-shark-qt/src/KsMainWindow.cpp +++ b/kernel-shark-qt/src/KsMainWindow.cpp @@ -859,8 +859,9 @@ void KsMainWindow::_error(const QString &text, const QString &errCode, if (unloadPlugins) _plugins.unloadAll(); - em->showMessage(text, errCode); qCritical() << "ERROR: " << text; + em->showMessage(text, errCode); + em->exec(); } /** -- 2.17.1