More small improvements
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include <SettingsWindow.hpp>
|
||||
#include <log.hpp>
|
||||
#include <Options.hpp>
|
||||
#include <imgui.h>
|
||||
#include <ranges>
|
||||
@@ -31,7 +30,7 @@ bool SettingsWindow::render() {
|
||||
applyEnabled = false;
|
||||
Options::GetInstance().Apply();
|
||||
|
||||
for (auto &tab : tabs | std::views::values) {
|
||||
for (const auto &tab : tabs | std::views::values) {
|
||||
tab->modified = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user