mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 01:04:41 +08:00
Amend last commit
This commit is contained in:
parent
6f14a4e97c
commit
61271ff282
@ -1358,6 +1358,14 @@ void EasyMainWindow::onConnectClicked(bool)
|
||||
if (parts.size() != 4)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user