Non, non rien n'a changé
This commit is contained in:
parent
20d251752c
commit
d193262dbf
|
@ -238,8 +238,13 @@ void Toolbar::updateEditorMusic() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Toolbar::update() {
|
void Toolbar::update() {
|
||||||
name_entry->SetText(editor.getName());
|
if (name_entry->GetText() != editor.getName()) {
|
||||||
path_entry->SetText(editor.getPath());
|
name_entry->SetText(editor.getName());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (path_entry->GetText().toAnsiString() != editor.getPath()) {
|
||||||
|
path_entry->SetText(editor.getPath());
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < background_combo->GetItemCount(); i++) {
|
for (int i = 0; i < background_combo->GetItemCount(); i++) {
|
||||||
if (background_combo->GetItem(i).toAnsiString() == editor.getBackground()) {
|
if (background_combo->GetItem(i).toAnsiString() == editor.getBackground()) {
|
||||||
|
|
Loading…
Reference in New Issue