Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[numericdialog] no need to have an ip address to pop the dialog up

  • Loading branch information...
commit da7b650238716ecca2037710c0296d7453193b24 1 parent 65a89aa
Jonathan Marshall authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/dialogs/GUIDialogNumeric.cpp
View
2  xbmc/dialogs/GUIDialogNumeric.cpp
@@ -694,7 +694,7 @@ bool CGUIDialogNumeric::ShowAndGetDate(SYSTEMTIME &date, const std::string &head
bool CGUIDialogNumeric::ShowAndGetIPAddress(std::string &IPAddress, const std::string &heading)
{
CGUIDialogNumeric *pDialog = (CGUIDialogNumeric *)g_windowManager.GetWindow(WINDOW_DIALOG_NUMERIC);
- if (!pDialog || IPAddress.empty()) return false;
+ if (!pDialog) return false;
pDialog->SetMode(INPUT_IP_ADDRESS, (void *)&IPAddress);
pDialog->SetHeading(heading);
pDialog->DoModal();
Please sign in to comment.
Something went wrong with that request. Please try again.