mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Add mock constructors to allow designer to instantiate viewmodels.
This commit is contained in:
@@ -56,6 +56,9 @@ public sealed class SettingsViewModel : ViewModelBase
|
||||
string _unArPath;
|
||||
string _unArVersion;
|
||||
|
||||
// Mock
|
||||
public SettingsViewModel() {}
|
||||
|
||||
public SettingsViewModel(SettingsDialog view)
|
||||
{
|
||||
_view = view;
|
||||
|
||||
Reference in New Issue
Block a user