From d8f6e859b7f01a688b631dc5a67a0c43b0f83341 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 17 Sep 2010 10:24:01 +0200 Subject: [PATCH] expand node in rpsecwindow only if it's visible --- sface/mainwindow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sface/mainwindow.py b/sface/mainwindow.py index fde8ad8..fa19a43 100644 --- a/sface/mainwindow.py +++ b/sface/mainwindow.py @@ -172,4 +172,5 @@ class MainWindow(QWidget): self.status.set(msg, timeout) def nodeSelectionChanged(self, hostname): - self.rspecWindow.showNode(hostname) + if self.rspecWindow.isVisible(): + self.rspecWindow.showNode(hostname) -- 2.43.0