Added Source config to better sort files in "Source", "Header", and "Misc" for SourceBrowser.

This commit is contained in:
Ernie Pasveer
2022-09-08 10:21:27 -05:00
parent cb28803219
commit 766eeb5f96
7 changed files with 77 additions and 39 deletions
+2 -2
View File
@@ -645,7 +645,7 @@ SeerEditorWidgetSource* SeerEditorManagerWidget::createEditorWidgetTab (const QS
//qDebug() << fullname << file << text << tabWidget->count() << tabWidget->tabText(0);
// Are we asked to ignore this file?
if (Seer::matches(editorIgnoreDirectories(), fullname) == true) {
if (Seer::matches(editorIgnoreDirectories(), fullname, QRegExp::WildcardUnix) == true) {
emit showMessage(QString("Ignored opening of: '%1'").arg(fullname), 3000);
return 0;
}
@@ -700,7 +700,7 @@ SeerEditorWidgetSource* SeerEditorManagerWidget::createEditorWidgetTab (const QS
//qDebug() << fullname << file << tabWidget->count() << tabWidget->tabText(0);
// Are we asked to ignore this file?
if (Seer::matches(editorIgnoreDirectories(), fullname) == true) {
if (Seer::matches(editorIgnoreDirectories(), fullname, QRegExp::WildcardUnix) == true) {
emit showMessage(QString("Ignored opening of: '%1'").arg(fullname), 3000);
return 0;
}