summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 4d3df6ccb..5095ab130 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1636,7 +1636,8 @@ void MainWindow::setTitle()
}
QString unsaved = (unsaved_changes() ? " *" : "");
- setWindowTitle("Subsurface: " + displayedFilename(existing_filename) + unsaved);
+ QString shown = QString(" (%1)").arg(filterWidget2.shownText());
+ setWindowTitle("Subsurface: " + displayedFilename(existing_filename) + unsaved + shown);
}
void MainWindow::importFiles(const QStringList fileNames)