@ -47,11 +47,10 @@
Label="Text to Image"
ToolTip.Tip="Text to Image" />
<ui:CommandBarButton
Click="AddTabMenu_ImageToImage_OnClick"
IconSource="ImageCopy"
IsEnabled="False"
IsVisible="False"
Label="Image to Image"
ToolTip.Tip="Not yet implemented, coming soon!" />
ToolTip.Tip="Image to Image" />
IconSource="ImageEdit"
@ -60,4 +60,11 @@ public partial class InferencePage : UserControlBase
{
(DataContext as InferenceViewModel)!.AddTabCommand.Execute(InferenceProjectType.Upscale);
}
private void AddTabMenu_ImageToImage_OnClick(object? sender, RoutedEventArgs e)
(DataContext as InferenceViewModel)!.AddTabCommand.Execute(
InferenceProjectType.ImageToImage
);