Permalink
Browse files

Prepopulate feed URL field with data from clipboard

  • Loading branch information...
1 parent b777666 commit f292ca56c7b6668eadcbf5f2b6d03aab39ccd157 @igstan committed Oct 24, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 Nemira/AddSubscription.xaml.cs
View
4 Nemira/AddSubscription.xaml.cs
@@ -18,10 +18,12 @@ public partial class AddSubscription : Window
public AddSubscription()
{
InitializeComponent();
+ Loaded += new RoutedEventHandler(OnLoaded);
}
- private void OnOkClick(object sender, RoutedEventArgs e)
+ void OnLoaded(object sender, RoutedEventArgs e)
{
+ feedUrl.Text = Clipboard.GetText();
}
}
}

0 comments on commit f292ca5

Please sign in to comment.