Skip to content

Commit 563babc

Browse files
committed
Disable the config settings when the worker thread is busy.
1 parent b649c2b commit 563babc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/gui2/configview.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,12 @@ static void deviceProperties()
285285

286286
void ConfigView::drawContent()
287287
{
288+
ImGui::BeginDisabled(Datastore::isBusy());
289+
ON_SCOPE_EXIT
290+
{
291+
ImGui::EndDisabled();
292+
};
293+
288294
ImGui::SeparatorText("fluxengine.view.config.formatProperties"_lang);
289295
if (ImGui::BeginTable("propertiesEditor",
290296
2,

0 commit comments

Comments
 (0)