diff options
-rw-r--r-- | misc/pvsgui.conf | 2 | ||||
-rw-r--r-- | src/pvsgui.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/pvsgui.conf b/misc/pvsgui.conf index 9725bf5..a0171eb 100644 --- a/misc/pvsgui.conf +++ b/misc/pvsgui.conf @@ -1,3 +1,3 @@ [Display] location=1 - +showmsgs=false diff --git a/src/pvsgui.cpp b/src/pvsgui.cpp index 94d7a74..7e25682 100644 --- a/src/pvsgui.cpp +++ b/src/pvsgui.cpp @@ -311,7 +311,7 @@ void PVSGUI::pvsDisconnect() void PVSGUI::showMessage(QString title, QString msg, bool useDialog) { - if (_restricted) return; + if (!_settings.value("Display/showmsgs").toBool()) return; // show balloon message if supported, otherwise show message dialog if (!useDialog && _trayIcon && QSystemTrayIcon::supportsMessages()) |