if( ci >= 0 && ci < config.curves.size() ) {
SketcherCurve *cv = config.curves[ci];
cv->color = color;
+ gui->lock_window("SketcherCurveColor::handle_done_event");
gui->curve_list->update(ci);
+ gui->unlock_window();
gui->send_configure_change();
}
}
{
if( !result ) {
char txt[BCSTRLEN]; sprintf(txt, "<%s #%06x>", _(KW_COLOR), color_value);
+ window->lock_window("TitleColorPopup::handle_done_event");
window->insert_ibeam(txt);
+ window->unlock_window();
}
}
BrowseButtonWindow *gui = (BrowseButtonWindow *)get_gui();
const char *path = gui->get_submitted_path();
char txt[BCSTRLEN]; sprintf(txt, "<%s %s>", _(KW_PNG), path);
+ window->lock_window("TitlePngPopup::handle_done_event");
window->insert_ibeam(txt);
+ window->unlock_window();
}
BC_Window *TitlePngPopup::new_gui()