Commit a7819f6e authored by Silas Lenz's avatar Silas Lenz Committed by rk flx
Browse files

Update window title when changing selection in comparison mode

The window title now updates with the currently selected image when the user changes the selection in comparison mode.

BUG: 314724



Test Plan:
View and select different images with and without comparison mode and verify the title.

Resize images by resizing the window or selecting/deselecting images while in comparison mode and verify the title.

View and switch between images in normal mode to verify it still works, including title updates.

Reviewers: #gwenview, ngraham, rkflx

Reviewed By: #gwenview, ngraham, rkflx

Subscribers: muhlenpfordt, ngraham, rkflx, #gwenview

Tags: #gwenview

Differential Revision:
parent 7369f471
......@@ -217,6 +217,9 @@ struct DocumentViewPrivate
void updateCaption()
if (!mCurrent) {
QString caption;
Document::Ptr doc = mAdapter->document();
......@@ -679,6 +682,7 @@ void DocumentView::setCurrent(bool value)
d->mCurrent = value;
if (value) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment