mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Show options when opening image by file association
If you load a custom image by running `rpi-imager my_image.img.xz` then the Advanced Options button is not shown. This is triggered if you set a file association to load rpi-imager and then double-click an image file. The fix is simply to set the visibility on this button on start-up (custom images set on the command-line are loaded before this). Fixes #451
This commit is contained in:
parent
63124443c3
commit
dbf9757796
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ ApplicationWindow {
|
|||
onClicked: {
|
||||
optionspopup.openPopup()
|
||||
}
|
||||
visible: false
|
||||
visible: imageWriter.imageSupportsCustomization()
|
||||
Accessible.description: qsTr("Select this button to access advanced settings")
|
||||
contentItem: Image {
|
||||
source: "icons/ic_cog_red.svg"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue