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