summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp
index 111f7d4..6e74e32 100644
--- a/noncore/settings/netsystemtime/ntp.cpp
+++ b/noncore/settings/netsystemtime/ntp.cpp
@@ -178,2 +178,3 @@ void Ntp::ntpFinished(OProcess *p)
{
+ if ( isVisible() ) {
QMessageBox::critical(this, tr("ntp error"),
@@ -182,4 +183,4 @@ void Ntp::ntpFinished(OProcess *p)
_ntpOutput );
- // TabWidgetMain->setCurrentPage( 1 );
TabWidgetMain->showPage( tabManualSetTime );
+ }