summaryrefslogtreecommitdiffhomepage
path: root/proto-fg
diff options
context:
space:
mode:
Diffstat (limited to 'proto-fg')
-rw-r--r--proto-fg/ftnoir_protocol_fg_dialog.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/proto-fg/ftnoir_protocol_fg_dialog.cpp b/proto-fg/ftnoir_protocol_fg_dialog.cpp
index 1d583115..6a3463b4 100644
--- a/proto-fg/ftnoir_protocol_fg_dialog.cpp
+++ b/proto-fg/ftnoir_protocol_fg_dialog.cpp
@@ -22,7 +22,7 @@
//
FGControls::FGControls()
{
- ui.setupUi( this );
+ ui.setupUi( this );
tie_setting(s.ip1, ui.spinIPFirstNibble);
tie_setting(s.ip2, ui.spinIPSecondNibble);
@@ -36,11 +36,10 @@ FGControls::FGControls()
void FGControls::doOK() {
s.b->save();
- this->close();
+ close();
}
void FGControls::doCancel() {
- s.b->reload();
- this->close();
+ close();
}