- 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
|
- enhancement: theme now have default icon set
|
||||||
- fix: wrong icons for file associations
|
- 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: 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
|
Red Panda C++ Version 0.14.0
|
||||||
- enhancement: custom icon set ( in the configuration folder)
|
- enhancement: custom icon set ( in the configuration folder)
|
||||||
|
|
|
@ -1409,10 +1409,10 @@ bool MainWindow::compile(bool rebuild)
|
||||||
if (mCompileSuccessionTask) {
|
if (mCompileSuccessionTask) {
|
||||||
mCompileSuccessionTask->filename = mProject->executable();
|
mCompileSuccessionTask->filename = mProject->executable();
|
||||||
}
|
}
|
||||||
updateCompileActions();
|
|
||||||
openCloseBottomPanel(true);
|
openCloseBottomPanel(true);
|
||||||
ui->tabMessages->setCurrentWidget(ui->tabCompilerOutput);
|
ui->tabMessages->setCurrentWidget(ui->tabCompilerOutput);
|
||||||
mCompilerManager->compileProject(mProject,rebuild);
|
mCompilerManager->compileProject(mProject,rebuild);
|
||||||
|
updateCompileActions();
|
||||||
updateAppTitle();
|
updateAppTitle();
|
||||||
} else {
|
} else {
|
||||||
Editor * editor = mEditorList->getEditor();
|
Editor * editor = mEditorList->getEditor();
|
||||||
|
@ -1425,10 +1425,10 @@ bool MainWindow::compile(bool rebuild)
|
||||||
if (mCompileSuccessionTask) {
|
if (mCompileSuccessionTask) {
|
||||||
mCompileSuccessionTask->filename = getCompiledExecutableName(editor->filename());
|
mCompileSuccessionTask->filename = getCompiledExecutableName(editor->filename());
|
||||||
}
|
}
|
||||||
updateCompileActions();
|
|
||||||
openCloseBottomPanel(true);
|
openCloseBottomPanel(true);
|
||||||
ui->tabMessages->setCurrentWidget(ui->tabCompilerOutput);
|
ui->tabMessages->setCurrentWidget(ui->tabCompilerOutput);
|
||||||
mCompilerManager->compile(editor->filename(),editor->fileEncoding(),rebuild);
|
mCompilerManager->compile(editor->filename(),editor->fileEncoding(),rebuild);
|
||||||
|
updateCompileActions();
|
||||||
updateAppTitle();
|
updateAppTitle();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue