~ubuntu-branches/ubuntu/utopic/mysql-workbench/utopic

« back to all changes in this revision

Viewing changes to frontend/linux/linux_utilities/plugin_editor_base.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2014-05-31 12:03:58 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140531120358-cjik5ofkmj0fxsn8
Tags: 6.1.6+dfsg-1
* New upstream release [May 2014].
* Dropped "prtcl.patch".
* "debian/clean": better clean-up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
 
2
 * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
3
3
 *
4
4
 *  This program is free software; you can redistribute it and/or modify
5
5
 *  it under the terms of the GNU General Public License as published by
135
135
//------------------------------------------------------------------------------
136
136
void PluginEditorBase::apply_changes_to_live_object()
137
137
{
138
 
  // make sure changes to a treeview are commited
 
138
  // make sure changes to a treeview are committed
139
139
  Gtk::Widget *focus= dynamic_cast<Gtk::Window*>(_editor_notebook->get_toplevel())->get_focus();
140
140
  if (focus && dynamic_cast<Gtk::Entry*>(focus))
141
141
  {