OS: Windows 11 24H2 - 64-bit
Tabs disappear when trying to close a tab with unsaved changes.
To reproduce:
Make sure you have "Hide Tab header when only one is opened" option turned on in Settings > Interface > Tabs
- Launch XnView. Browser view is opened.
- Open any one image file. New tab is opened, now you have two tabs opened: "Browser" and "any-image.jpg".
- Make any changes to the opened image file (Rotate 90 or change brightness).
- Click "Close tab" button.
- "Save changed file?" dialog appears. Choose "Cancel".
Expected behaviour: Tabs must stay visible.