const Gdk::Rectangle& cell_area __attribute__ ((unused)),
Gtk::CellRendererState flags __attribute__ ((unused)))
{
+ edit_value_done_called = false;
// If we aren't editable, then there is nothing to do
if(!property_editable())
return 0;
void
CellRenderer_ValueBase::on_value_editing_done()
{
+ if (edit_value_done_called)
+ {
+ synfig::error("on_value_editing_done(): Called twice!");
+ return;
+ }
+
+ edit_value_done_called = true;
+
if(value_entry)
{
ValueBase old_value(property_value_.get_value());
void gradient_edited(synfig::Gradient gradient, Glib::ustring path);
void color_edited(synfig::Color color, Glib::ustring path);
+ bool edit_value_done_called;
public:
sigc::signal<void, const Glib::ustring&> &signal_secondary_click()
{return signal_secondary_click_; }