mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
When all the images in the gallery are cleared using the "Clear Images" or "Clear All Images" menu action while the "Visualize HDR images" option is turned on, the gallery is correctly emptied and the viewer correctly reset but the button remains turned on even though there is nothing left to show. As it is turned on (although with a "0" count), the gallery remains in read-only mode and no more image can be dropped until the button is manually clicked to be turned off. Even after that, it remains clickable instead of being disabled. This commit ensures that the button gets disabled if the number of viewpoints is 0 (meaning the gallery is empty). That way, the button correctly reflects the current situation, and the gallery is ready to have images dropped. |
||
---|---|---|
.. | ||
ImageBadge.qml | ||
ImageDelegate.qml | ||
ImageGallery.qml | ||
IntrinsicDisplayDelegate.qml | ||
IntrinsicsIndicator.qml | ||
qmldir | ||
SensorDBDialog.qml |