Skip to content

Commit 1393559

Browse files
committed
Fix extended boundaries ImGui debug assert when app profile list is empty
1 parent 543a946 commit 1393559

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DesktopPlusUI/WindowSettings.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3629,11 +3629,10 @@ void WindowSettings::UpdatePageAppProfiles()
36293629
}
36303630
}
36313631

3632-
ImGui::SetCursorPosY( ImGui::GetCursorPosY() + (ImGui::GetContentRegionAvail().y - ImGui::GetFrameHeightWithSpacing()) );
3633-
36343632
//Confirmation buttons (don't show when used as root page)
36353633
if (!is_root_page)
36363634
{
3635+
ImGui::SetCursorPosY( ImGui::GetCursorPosY() + (ImGui::GetContentRegionAvail().y - ImGui::GetFrameHeightWithSpacing()) );
36373636
ImGui::Separator();
36383637

36393638
if (ImGui::Button(TranslationManager::GetString(tstr_DialogDone)))

0 commit comments

Comments
 (0)