diff --git a/src/musikbox/cursespp/DialogOverlay.cpp b/src/musikbox/cursespp/DialogOverlay.cpp index 1ba5b5e3e..7c78cd327 100644 --- a/src/musikbox/cursespp/DialogOverlay.cpp +++ b/src/musikbox/cursespp/DialogOverlay.cpp @@ -52,6 +52,7 @@ DialogOverlay::DialogOverlay() { this->autoDismiss = true; this->shortcuts.reset(new ShortcutsWindow()); + this->shortcuts->SetAlignment(text::AlignRight); this->AddWindow(this->shortcuts); } diff --git a/src/musikbox/cursespp/ShortcutsWindow.cpp b/src/musikbox/cursespp/ShortcutsWindow.cpp index 365f934ce..c71a05eac 100755 --- a/src/musikbox/cursespp/ShortcutsWindow.cpp +++ b/src/musikbox/cursespp/ShortcutsWindow.cpp @@ -90,7 +90,7 @@ void ShortcutsWindow::UpdateContentColor() { } size_t ShortcutsWindow::CalculateLeftPadding() { - if (this->alignment = text::AlignLeft) { + if (this->alignment == text::AlignLeft) { return 0; }