Skip to content

Commit

Permalink
Prepopulate feed URL field with data from clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
igstan committed Oct 24, 2010
1 parent b777666 commit f292ca5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Nemira/AddSubscription.xaml.cs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ public partial class AddSubscription : Window
public AddSubscription() public AddSubscription()
{ {
InitializeComponent(); 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.