fix: when main window is closed, application is termiated
This commit is contained in:
parent
8b9c85018f
commit
d6c95888c5
1 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,9 @@ CLlconClientDlg::~CLlconClientDlg()
|
|||
|
||||
void CLlconClientDlg::closeEvent ( QCloseEvent * Event )
|
||||
{
|
||||
// if settings dialog is open, close it
|
||||
ClientSettingsDlg.close();
|
||||
|
||||
// store IP address
|
||||
pClient->strIPAddress = LineEditServerAddr->text();
|
||||
|
||||
|
|
Loading…
Reference in a new issue