color updates

This commit is contained in:
2025-11-24 15:00:39 +01:00
parent 6cfa0d5a2d
commit 9befee44a5

View File

@@ -102,7 +102,6 @@ private:
void updatePosition();
void updateHidden();
void updateSize();
void updateColor();
void adjustTitle(bool mutate);
@@ -125,6 +124,7 @@ public:
void toFront();
void toDesktop();
void fromDesktop();
void updateColor();
public:
bool move_begin(GtkWidget *sender, GdkEventButton *evt);
@@ -648,7 +648,15 @@ void YellowNotes::setupClose(GtkWidget *sender)
_dlg = nullptr;
_langs = nullptr;
saveConfig();
std::list<YellowNote *>::iterator n_it;
for(n_it = _notes.begin(); n_it != _notes.end(); n_it++) {
YellowNote *n = *n_it;
n->updateColor();
}
} else {
}
}