We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cd9c67 commit a59b3d8Copy full SHA for a59b3d8
netcat/src/main/java/com/github/dddpaul/netcat/ui/ResultFragment.java
@@ -237,7 +237,7 @@ private void disconnect()
237
238
private void updateUIWithValidation()
239
{
240
- if( Utils.isActive( netCat ) ) {
+ if( netCat != null && netCat.isConnected() ) {
241
sendButton.setEnabled( Utils.populated( inputText ) );
242
} else {
243
sendButton.setEnabled( false );
0 commit comments