Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/poll.py
diff options
context:
space:
mode:
Diffstat (limited to 'poll.py')
-rw-r--r--poll.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/poll.py b/poll.py
index 1a581e0..6b70361 100644
--- a/poll.py
+++ b/poll.py
@@ -311,13 +311,11 @@ class PollBuilder(activity.Activity):
if self._poll.sha == sha:
self._logger.debug('delete_poll: removing current poll')
- self._poll = Poll(activity=self)
- self.current_vote = None
for poll in self._polls:
if poll.sha == sha:
self._polls.remove(poll)
-
+
self.set_canvas(SelectCanvas(self))
def vote_choice_radio_button(self, widget, data):