git://git.onelab.eu
/
sface.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
672e6b2
)
expand node in rpsecwindow only if it's visible
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Fri, 17 Sep 2010 08:24:01 +0000
(10:24 +0200)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Fri, 17 Sep 2010 08:24:01 +0000
(10:24 +0200)
sface/mainwindow.py
patch
|
blob
|
history
diff --git
a/sface/mainwindow.py
b/sface/mainwindow.py
index
fde8ad8
..
fa19a43
100644
(file)
--- 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.status.set(msg, timeout)
def nodeSelectionChanged(self, hostname):
- self.rspecWindow.showNode(hostname)
+ if self.rspecWindow.isVisible():
+ self.rspecWindow.showNode(hostname)