summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-31 12:11:34 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-31 12:11:34 (GMT)
commit3518013b052ea57ffd5a96b5851aa8cd3f141cf9 (patch)
tree89c8a9854da9b8e135b3b47db187872434afd125
parent5bae8f50f712554a89f3c5d09c4a4506a0b4f214 (diff)
No need to be redundant here
-rw-r--r--kstars/ekos/ekosmanager.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/kstars/ekos/ekosmanager.cpp b/kstars/ekos/ekosmanager.cpp
index a53b011..5ee75c1 100644
--- a/kstars/ekos/ekosmanager.cpp
+++ b/kstars/ekos/ekosmanager.cpp
@@ -1224,10 +1224,7 @@ void EkosManager::processTabChange()
QWidget *currentWidget = toolsWidget->currentWidget();
if (focusProcess && currentWidget != focusProcess)
- {
- if (focusProcess)
- focusProcess->resetFrame();
- }
+ focusProcess->resetFrame();
if (alignProcess && currentWidget == alignProcess)
{