]> granicus.if.org Git - icinga2/blobdiff - icinga-studio/connectform.cpp
Fixed downtime example in documentation
[icinga2] / icinga-studio / connectform.cpp
index 1a38ee1b39c10b2715c5795d742a041cc7274fcd..870bf185c9ed7d0270085f5a369f214bf3ae9e44 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org)    *
+ * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/)  *
  *                                                                            *
  * This program is free software; you can redistribute it and/or              *
  * modify it under the terms of the GNU General Public License                *
@@ -52,6 +52,8 @@ ConnectForm::ConnectForm(wxWindow *parent, const Url::Ptr& url)
                m_PortText->SetValue(hostport[1]);
        else
                m_PortText->SetValue("5665");
+
+       SetDefaultItem(m_ButtonsOK);
 }
 
 Url::Ptr ConnectForm::GetUrl(void) const