- fix: "delete and exit" button in the environtment / page option page doesn't work correctly
This commit is contained in:
parent
2204ac8ea1
commit
7fa4b072d0
3
NEWS.md
3
NEWS.md
|
@ -1,3 +1,6 @@
|
|||
Red Panda C++ Version 0.13.2
|
||||
- fix: "delete and exit" button in the environtment / page option page doesn't work correctly
|
||||
|
||||
Red Panda C++ Version 0.13.1
|
||||
- enhancement: suppoort localization info in project templates
|
||||
- change: template / project files use utf-8 encoding instead of ANSI
|
||||
|
|
|
@ -156,6 +156,11 @@ PSettingsDialog SettingsDialog::optionDialog()
|
|||
widget->init();
|
||||
dialog->addWidget(widget);
|
||||
|
||||
connect((EnvironmentFoldersWidget*)widget,
|
||||
&EnvironmentFoldersWidget::shouldQuitApp,
|
||||
dialog.get(),
|
||||
&SettingsDialog::closeAndQuit);
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
widget = new EnvironmentProgramsWidget(tr("Terminal"),tr("Environment"));
|
||||
widget->init();
|
||||
|
@ -166,12 +171,6 @@ PSettingsDialog SettingsDialog::optionDialog()
|
|||
widget->init();
|
||||
dialog->addWidget(widget);
|
||||
|
||||
connect((EnvironmentFoldersWidget*)widget,
|
||||
&EnvironmentFoldersWidget::shouldQuitApp,
|
||||
dialog.get(),
|
||||
&SettingsDialog::closeAndQuit,
|
||||
Qt::QueuedConnection);
|
||||
|
||||
widget = new CompilerSetOptionWidget(tr("Compiler Set"),tr("Compiler"));
|
||||
widget->init();
|
||||
dialog->addWidget(widget);
|
||||
|
|
Loading…
Reference in New Issue