From 47e42e53d03d63d9f0155a4b5215018277d11762 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 15 Oct 2012 08:59:09 +0200 Subject: [PATCH] Debugger: Fix showing/hiding of form rows Change-Id: I1f6afa472d5ca30c15a84a49ea852063247c5210 Reviewed-by: hjk --- src/plugins/debugger/debuggerdialogs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/debugger/debuggerdialogs.cpp b/src/plugins/debugger/debuggerdialogs.cpp index 62afe1c6e65..f3f9c810567 100644 --- a/src/plugins/debugger/debuggerdialogs.cpp +++ b/src/plugins/debugger/debuggerdialogs.cpp @@ -384,10 +384,9 @@ bool StartApplicationDialog::run(QWidget *parent, QSettings *settings, DebuggerS StartApplicationDialog dialog(parent); dialog.setHistory(history); dialog.setParameters(history.back()); - if (attachRemote) { + if (!attachRemote) { dialog.d->serverStartScriptPathChooser->setVisible(false); dialog.d->serverStartScriptLabel->setVisible(false); - } else { dialog.d->serverPortSpinBox->setVisible(false); dialog.d->serverPortLabel->setVisible(false); }