mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-18 09:18:23 +01:00
fixes #2567 "If file doesn't exist when clicking 'edit file', then you
have to hit save button twice". The bug affected "edit file" function in the Address Table object dialog.
This commit is contained in:
parent
ff2dba8bab
commit
a206d46cde
@ -1,5 +1,10 @@
|
||||
2011-07-21 vadim <vadim@netcitadel.com>
|
||||
|
||||
* TextFileEditor.cpp (save): fixes #2567 "If file doesn't exist
|
||||
when clicking 'edit file', then you have to hit save button twice".
|
||||
The bug affected "edit file" function in the Address Table object
|
||||
dialog.
|
||||
|
||||
* NATCompiler_pf_writers.cpp (_printAddr): fixes #2590 "PF: NAT
|
||||
compiler fails when run-time address table object is used in a
|
||||
rule"
|
||||
|
||||
@ -117,6 +117,8 @@ void TextFileEditor::save()
|
||||
owf.write(m_dialog->editor->toPlainText().toAscii().constData()) >= 0)
|
||||
{
|
||||
owf.close();
|
||||
QDialog::accept();
|
||||
return;
|
||||
} else
|
||||
QMessageBox::critical(
|
||||
this,"Firewall Builder",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user