summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFabian Schillinger2010-11-05 19:00:35 +0100
committerFabian Schillinger2010-11-05 19:00:35 +0100
commit4abdb02c37032ecd8087deca8037e0811b1b677e (patch)
treebcfbddcab0c4a10db514490b4fb2e1f2c75de487 /src/gui
parentAktualisierung Projektdoku ... (diff)
downloadpvs-4abdb02c37032ecd8087deca8037e0811b1b677e.tar.gz
pvs-4abdb02c37032ecd8087deca8037e0811b1b677e.tar.xz
pvs-4abdb02c37032ecd8087deca8037e0811b1b677e.zip
Cleanup
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/mainWindow.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/mainWindow.cpp b/src/gui/mainWindow.cpp
index 469248e..beb80f4 100644
--- a/src/gui/mainWindow.cpp
+++ b/src/gui/mainWindow.cpp
@@ -794,8 +794,11 @@ void MainWindow::unCloseUp(ConnectionFrame* connFrame)
// Perform some action if actionShowProcesses button was pressed
void MainWindow::showProcesses()
{
- ProcessDialog procShowDialog(0,displayedClientNameEnum);
- procShowDialog.exec();
+ if (PVSConnectionManager::getManager()->getConnections().size() > 0)
+ {
+ ProcessDialog procShowDialog(0,displayedClientNameEnum);
+ procShowDialog.exec();
+ }
}