parent
9e7ed049a1
commit
79c48ba799
|
@ -810,7 +810,7 @@ void FurnaceGUI::drawDebug() {
|
||||||
if (ImGui::TreeNode("Settings")) {
|
if (ImGui::TreeNode("Settings")) {
|
||||||
if (ImGui::Button("Sync")) syncSettings();
|
if (ImGui::Button("Sync")) syncSettings();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (ImGui::Button("Commit")) commitSettings();
|
if (ImGui::Button("Commit")) willCommit=true;
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (ImGui::Button("Force Load")) e->loadConf();
|
if (ImGui::Button("Force Load")) e->loadConf();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
|
|
@ -6078,7 +6078,7 @@ bool FurnaceGUI::importConfig(String path) {
|
||||||
}
|
}
|
||||||
syncState();
|
syncState();
|
||||||
syncSettings();
|
syncSettings();
|
||||||
commitSettings();
|
willCommit=true;
|
||||||
|
|
||||||
recentFile.clear();
|
recentFile.clear();
|
||||||
for (int i=0; i<settings.maxRecentFile; i++) {
|
for (int i=0; i<settings.maxRecentFile; i++) {
|
||||||
|
|
Loading…
Reference in a new issue