summaryrefslogtreecommitdiffstats
path: root/package/config/qconf.cc
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-21 18:21:32 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-27 16:07:05 +0200
commit6cd6353ff9c0ce93a63e43c4cb61188c6bc0b0f5 (patch)
tree8ed1445cd302c6cf13716412a0ebdf8274c61f38 /package/config/qconf.cc
parent69f982cdade4050c89ab8ebfd97d43288e625179 (diff)
downloadbuildroot-novena-6cd6353ff9c0ce93a63e43c4cb61188c6bc0b0f5.tar.gz
buildroot-novena-6cd6353ff9c0ce93a63e43c4cb61188c6bc0b0f5.zip
xconfig: Save the configuration properly in qconf
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/config/qconf.cc')
-rw-r--r--package/config/qconf.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/config/qconf.cc b/package/config/qconf.cc
index 3e539c1c7..9af12a61a 100644
--- a/package/config/qconf.cc
+++ b/package/config/qconf.cc
@@ -1611,6 +1611,7 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
{
if (!conf_get_changed()) {
e->accept();
+ conf_write_autoconf();
return;
}
QMessageBox mb("qconf", _("Save configuration?"), QMessageBox::Warning,
@@ -1621,6 +1622,7 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
switch (mb.exec()) {
case QMessageBox::Yes:
conf_write(NULL);
+ conf_write_autoconf();
case QMessageBox::No:
e->accept();
break;