mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 08:00:16 -04:00

Set credentials validation works as intended Getting settings has default values Add parent group in Move searchbox Moving entries work as intended Removed unreferenced code files
35 lines
798 B
C#
35 lines
798 B
C#
using GalaSoft.MvvmLight;
|
|
|
|
namespace ModernKeePass.ViewModels
|
|
{
|
|
public class OpenVm: ViewModelBase
|
|
{
|
|
private string _name;
|
|
private string _path;
|
|
private string _token;
|
|
public bool IsFileSelected => !string.IsNullOrEmpty(Token);
|
|
|
|
public string Token
|
|
{
|
|
get { return _token; }
|
|
set
|
|
{
|
|
Set(() => Token, ref _token, value);
|
|
RaisePropertyChanged(nameof(IsFileSelected));
|
|
}
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get { return _name; }
|
|
set { Set(() => Name, ref _name, value); }
|
|
}
|
|
|
|
public string Path
|
|
{
|
|
get { return _path; }
|
|
set { Set(() => Path, ref _path, value); }
|
|
}
|
|
}
|
|
}
|