- fix: can't create folder in files view, if nothing is selected
This commit is contained in:
parent
eebd7336c2
commit
3d42cdf6c3
1
NEWS.md
1
NEWS.md
|
@ -12,6 +12,7 @@ Red Panda C++ Version 1.1.5
|
|||
- fix: "Timeout for problem case" can't be rechecked, in the Settings Dialog -> executor -> problem set panel.
|
||||
- fix: bug in the project template
|
||||
- change: sort local identifiers before keywords in the auto completion popup
|
||||
- fix: can't create folder in files view, if nothing is selected
|
||||
|
||||
Red Panda C++ Version 1.1.4
|
||||
|
||||
|
|
|
@ -3555,6 +3555,7 @@ void MainWindow::onFilesViewCreateFolder()
|
|||
ui->treeFiles->expand(index);
|
||||
} else {
|
||||
dir = mFileSystemModel.rootDirectory();
|
||||
parentIndex=mFileSystemModel.index(dir.absolutePath());
|
||||
}
|
||||
QString folderName = tr("New Folder");
|
||||
int count = 0;
|
||||
|
|
Loading…
Reference in New Issue