Fix #1241: 'Go to directory view' uses hard-coded default values
authorColin Clark <colin.clark@cclark.uk>
Tue, 26 Mar 2024 17:17:00 +0000 (17:17 +0000)
committerColin Clark <colin.clark@cclark.uk>
Tue, 26 Mar 2024 17:17:00 +0000 (17:17 +0000)
commit787f3dd15fb68da16e5a9b88774a26ffb99450e9
tree0561e13304c03d2ddbc586c6994aab3c8c6e7813
parentab812c192959f832742b325400ebc04b50edfc72
Fix #1241:  'Go to directory view' uses hard-coded default values

https://github.com/BestImageViewer/geeqie/issues/1241

If the image is already displayed, bring that window to the top.

If not, a new layout window is opened using the values set by the user
in Edit/Preferences/Windows/Use Current Layout For Default.

If this option has not been set, use the fixed default values.
src/img-view.cc