mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[GUI] Fix initial values in ImageConvertViewModel
This commit is contained in:
@@ -255,6 +255,14 @@ public sealed partial class ImageConvertViewModel : ViewModelBase
|
|||||||
|
|
||||||
MetadataJsonText = _aaruMetadata == null ? "" : UI._From_image_;
|
MetadataJsonText = _aaruMetadata == null ? "" : UI._From_image_;
|
||||||
ResumeFileText = _dumpHardware == null ? "" : UI._From_image_;
|
ResumeFileText = _dumpHardware == null ? "" : UI._From_image_;
|
||||||
|
|
||||||
|
SelectedPlugin = PluginsList[0];
|
||||||
|
SectorsValue = 512;
|
||||||
|
DestinationVisible = true;
|
||||||
|
DestinationEnabled = true;
|
||||||
|
OptionsVisible = true;
|
||||||
|
StartVisible = true;
|
||||||
|
CloseVisible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObservableCollection<ImagePluginModel> PluginsList { get; }
|
public ObservableCollection<ImagePluginModel> PluginsList { get; }
|
||||||
@@ -336,6 +344,8 @@ public sealed partial class ImageConvertViewModel : ViewModelBase
|
|||||||
StopEnabled = true;
|
StopEnabled = true;
|
||||||
FormatReadOnly = true;
|
FormatReadOnly = true;
|
||||||
DestinationVisible = false;
|
DestinationVisible = false;
|
||||||
|
Progress1Visible = true;
|
||||||
|
Progress2Visible = true;
|
||||||
|
|
||||||
ProgressMaxValue = 1d;
|
ProgressMaxValue = 1d;
|
||||||
ProgressMaxValue += _inputFormat.Info.ReadableMediaTags.Count;
|
ProgressMaxValue += _inputFormat.Info.ReadableMediaTags.Count;
|
||||||
|
|||||||
Reference in New Issue
Block a user