private void ComboBox_FocusOutEvent(object o, Gtk.FocusOutEventArgs args)
{
string text = PintaCore.Actions.View.ZoomComboBox.ComboBox.ActiveText;
double percent;
if (!double.TryParse (text, out percent)) {
(PintaCore.Actions.View.ZoomComboBox.ComboBox as Gtk.ComboBoxEntry).Entry.Text = temp_zoom;
return;
}
if (percent > 3600)
PintaCore.Actions.View.ZoomComboBox.ComboBox.Active = 0;
}