diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 235: Android: Ensure that the option list is updated after changing an option using a text entry.

Message ID 20120718161713.20229.36448.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org July 18, 2012, 4:17 p.m. UTC
------------------------------------------------------------
revno: 235
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Wed 2012-07-18 19:10:51 +0300
message:
  Android: Ensure that the option list is updated after changing an option using a text entry.
modified:
  android/src/org/linaro/glmark2/EditorActivity.java


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'android/src/org/linaro/glmark2/EditorActivity.java'
--- android/src/org/linaro/glmark2/EditorActivity.java	2012-07-18 09:46:21 +0000
+++ android/src/org/linaro/glmark2/EditorActivity.java	2012-07-18 16:10:51 +0000
@@ -183,6 +183,7 @@ 
                              event.getAction() == KeyEvent.ACTION_UP))
                         {
                             item.value = v.getText().toString();
+                            adapter.notifyDataSetChanged();
                             dismissDialog(DIALOG_SCENE_OPTION_TEXT_ID);
                         }
                         return true;