Switching to dialog approach
This commit is contained in:
@@ -38,13 +38,12 @@ public class MainWindow
|
||||
shortcuts = new PasswordStoreShortcutCollection(shortcutsGroup);
|
||||
|
||||
LoadDefaultShortcuts();
|
||||
}
|
||||
|
||||
private void OnAddShortcutClicked(object sender, EventArgs e)
|
||||
{
|
||||
var window = new AddShortcutWindow().Window;
|
||||
window.Application = Window.Application;
|
||||
window.Show();
|
||||
}
|
||||
|
||||
private void OnAddShortcutClicked(object sender, EventArgs e)
|
||||
{
|
||||
var dialog = new AddShortcutWindow().Dialog;
|
||||
dialog.Present(Window);
|
||||
}
|
||||
|
||||
public void AddShortcut(string path)
|
||||
|
||||
Reference in New Issue
Block a user