From 60cf6d0c4bc2aa6669999847fc0b12ee02bde954 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Tue, 6 Apr 2010 20:34:37 -0700 Subject: [PATCH] views.standard: Raise windows before showing them Prevent dialogs from popping by ensuring they're in the foreground before showing them. Ya, we probably shouldn't hack show() to mean show() + raise_(), but it's worked so far... Signed-off-by: David Aguilar --- cola/views/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cola/views/standard.py b/cola/views/standard.py index 538f8af2..9be073ca 100644 --- a/cola/views/standard.py +++ b/cola/views/standard.py @@ -26,8 +26,8 @@ def create_standard_widget(qtclass): self.move(x, y) # Call the base Qt show() - self._qtclass.show(self) self.raise_() + self._qtclass.show(self) def name(self): """Returns the name of the view class""" -- 2.11.4.GIT