work save
This commit is contained in:
parent
22acab0950
commit
356db1349f
1
NEWS.md
1
NEWS.md
|
@ -1,4 +1,5 @@
|
|||
Version 0.2
|
||||
- fix : header file completion stop work when input '.'
|
||||
- change: continue to run / debug if there are compiling warnings (but no errors)
|
||||
- enhancement: class browser syntax colors and icons
|
||||
- enhancement: function tips
|
||||
|
|
|
@ -1445,6 +1445,16 @@ void MainWindow::scanActiveProject(bool parse)
|
|||
};
|
||||
}
|
||||
|
||||
void MainWindow::saveLastOpens()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::loadLastOpens()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::buildContextMenus()
|
||||
{
|
||||
|
||||
|
@ -2230,14 +2240,16 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
|||
settings.setLeftPanelOpenned(mLeftPanelOpenned);
|
||||
settings.save();
|
||||
|
||||
if (mProject) {
|
||||
closeProject(false);
|
||||
}
|
||||
|
||||
if (!mEditorList->closeAll(false)) {
|
||||
event->ignore();
|
||||
return ;
|
||||
}
|
||||
|
||||
if (mProject) {
|
||||
closeProject(false);
|
||||
}
|
||||
|
||||
mCompilerManager->stopCompile();
|
||||
mCompilerManager->stopRun();
|
||||
|
||||
|
|
|
@ -154,6 +154,8 @@ private:
|
|||
QWidget* parent,
|
||||
QKeySequence shortcut=QKeySequence());
|
||||
void scanActiveProject(bool parse=false);
|
||||
void saveLastOpens();
|
||||
void loadLastOpens();
|
||||
|
||||
private slots:
|
||||
void onAutoSaveTimeout();
|
||||
|
|
|
@ -1187,7 +1187,7 @@ void Project::doAutoOpen()
|
|||
// 2:
|
||||
// LoadLayout; // Open previous selection
|
||||
// end;
|
||||
|
||||
loadLayout();
|
||||
}
|
||||
|
||||
bool Project::fileAlreadyExists(const QString &s)
|
||||
|
|
Loading…
Reference in New Issue