git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
expand node in rpsecwindow only if it's visible
[sface.git]
/
sface
/
mainwindow.py
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)