Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/GUI_Components/Format_Pane.py
diff options
context:
space:
mode:
Diffstat (limited to 'GUI_Components/Format_Pane.py')
-rw-r--r--GUI_Components/Format_Pane.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/GUI_Components/Format_Pane.py b/GUI_Components/Format_Pane.py
index 72c04b6..a3ff091 100644
--- a/GUI_Components/Format_Pane.py
+++ b/GUI_Components/Format_Pane.py
@@ -47,9 +47,8 @@ class Format_Pane(Editing_View):
self.source = article
def set_working_article(self, article):
- if self.textbox.get_article() == article:
- return
self.articletitle.set_markup(
"<span size='medium'><b> %s </b> %s</span>" % \
(_("Article:"), article.article_title))
- self.textbox.set_article(article)
+ if self.textbox.get_article() != article:
+ self.textbox.set_article(article)