aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-30 21:26:33 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-31 09:56:49 +0200
commit98e9bd43b60b7ab9b31a8dd8cc1e61f84e65b7df (patch)
treef7f76d0fd90840a5415e7a96552bd1022a293b05
parentad8c5b6874f8c9c30b974d2b87d3a42067e3af5d (diff)
fixed npe in start conversation activity
-rw-r--r--src/eu/siacs/conversations/ui/StartConversationActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/StartConversationActivity.java b/src/eu/siacs/conversations/ui/StartConversationActivity.java
index c106955ff..b56d8a60e 100644
--- a/src/eu/siacs/conversations/ui/StartConversationActivity.java
+++ b/src/eu/siacs/conversations/ui/StartConversationActivity.java
@@ -148,7 +148,9 @@ public class StartConversationActivity extends XmppActivity {
@Override
public void run() {
- filter(mSearchEditText.getText().toString());
+ if (mSearchEditText != null) {
+ filter(mSearchEditText.getText().toString());
+ }
}
});
}