0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-29 10:05:48 +08:00

Amend last commit

This commit is contained in:
Victor Zarubkin 2016-12-08 22:28:02 +03:00
parent 6f14a4e97c
commit 61271ff282

View File

@ -1358,6 +1358,14 @@ void EasyMainWindow::onConnectClicked(bool)
if (parts.size() != 4) if (parts.size() != 4)
{ {
QMessageBox::warning(this, "Warning", "Invalid IP-Address", QMessageBox::Close); QMessageBox::warning(this, "Warning", "Invalid IP-Address", QMessageBox::Close);
if (EASY_GLOBALS.connected)
{
// Restore last values
m_ipEdit->setText(m_lastAddress);
m_portEdit->setText(QString::number(m_lastPort));
}
return; return;
} }