diff --git a/src/org/zaproxy/zap/view/ScanPanel.java b/src/org/zaproxy/zap/view/ScanPanel.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/view/ScanPanel.java
+++ b/src/org/zaproxy/zap/view/ScanPanel.java
@@ -526,11 +526,7 @@ public abstract class ScanPanel extends AbstractPanel {
 				getStartScanButton().setEnabled(false);

 				getStopScanButton().setEnabled(true);

 				getPauseScanButton().setEnabled(true);

-				if (scanThread.isPaused()) {

-					getPauseScanButton().setSelected(true);

-				} else {

-					getPauseScanButton().setSelected(false);

-				}

+				getPauseScanButton().setSelected(scanThread.isPaused());

 				getProgressBar().setEnabled(true);

 			} else {

 				resetScanButtonsAndProgressBarStates(true);
Tidy up, replaced, in ScanPanel, an (unnecessary) if statement with direct use of the evaluated boolean value.