Skip to content

Commit

Permalink
Fix controlnet options bug
Browse files Browse the repository at this point in the history
  • Loading branch information
axodox committed Jul 11, 2023
1 parent b1d205c commit 096e57c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unpaint/ControlNetOptionsViewModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace winrt::Unpaint::implementation

bool ControlNetOptionsViewModel::IsAvailable()
{
return _modes.Size() > 1;
return _modes.Size() > 0;
}

Windows::Foundation::Collections::IObservableVector<Unpaint::ControlNetModeViewModel> ControlNetOptionsViewModel::Modes()
Expand Down

0 comments on commit 096e57c

Please sign in to comment.