Skip to content

Commit

Permalink
Merge pull request #1894 from subutai-io/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jadilet authored Jan 31, 2019
2 parents 9780ed2 + b42ecda commit 054487e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hub/src/DlgPeer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,10 @@ void DlgPeer::regDlgClosed() {
}

void DlgPeer::hideSSH() {
// if peer is vagrant peer then do not hide
if (CPeerController::Instance()->get_global_status().out.contains(rh_dir))
return;

ui->gr_ssh->hide();
ui->label->hide();
ui->label_3->hide();
Expand All @@ -634,6 +638,10 @@ void DlgPeer::hideSSH() {
}

void DlgPeer::hidePeer() {
// if peer is vagrant peer then do not hide
if (CPeerController::Instance()->get_global_status().out.contains(rh_dir))
return;

ui->lbl_name->hide();
ui->le_name->hide();
ui->lbl_bridge->hide();
Expand Down

0 comments on commit 054487e

Please sign in to comment.