- fix: actions not correctly disabled when compile
This commit is contained in:
parent
53ad8819db
commit
1574ddd743
1
NEWS.md
1
NEWS.md
|
@ -12,6 +12,7 @@ Red Panda C++ Version 0.14.1
|
|||
- enhancement: theme now have default icon set
|
||||
- fix: wrong icons for file associations
|
||||
- fix: editor's font size set by ctrl+mouse wheel will be reset by open the option dialog
|
||||
- fix: actions not correctly disabled when compile
|
||||
|
||||
Red Panda C++ Version 0.14.0
|
||||
- enhancement: custom icon set ( in the configuration folder)
|
||||
|
|
|
@ -1409,10 +1409,10 @@ bool MainWindow::compile(bool rebuild)
|
|||
if (mCompileSuccessionTask) {
|
||||
mCompileSuccessionTask->filename = mProject->executable();
|
||||
}
|
||||
updateCompileActions();
|
||||
openCloseBottomPanel(true);
|
||||
ui->tabMessages->setCurrentWidget(ui->tabCompilerOutput);
|
||||
mCompilerManager->compileProject(mProject,rebuild);
|
||||
updateCompileActions();
|
||||
updateAppTitle();
|
||||
} else {
|
||||
Editor * editor = mEditorList->getEditor();
|
||||
|
@ -1425,10 +1425,10 @@ bool MainWindow::compile(bool rebuild)
|
|||
if (mCompileSuccessionTask) {
|
||||
mCompileSuccessionTask->filename = getCompiledExecutableName(editor->filename());
|
||||
}
|
||||
updateCompileActions();
|
||||
openCloseBottomPanel(true);
|
||||
ui->tabMessages->setCurrentWidget(ui->tabCompilerOutput);
|
||||
mCompilerManager->compile(editor->filename(),editor->fileEncoding(),rebuild);
|
||||
updateCompileActions();
|
||||
updateAppTitle();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue