Do not change text color if color dialog is closed
[modest] / src / hildon2 / modest-color-button.c
index 66df5d0..8ddc110 100644 (file)
@@ -101,7 +101,7 @@ static void
 modest_color_button_clicked (GtkButton *button)
 {
        /* Show ColorPicker dialog */
-       PipCalendarColor color = pip_color_picker_select_color(PipTextColorRed, PipColorPickerText);
+       PipCalendarColor color = pip_color_picker_select_color(PipCalendarColorInvalid, PipColorPickerText);
 
        /* Check if some color is selected rather than dialog is dismissed */
        if (color != PipCalendarColorInvalid) {