"Clear" button in Enter Shortcut Sequence" dialog does not clear input field

• Jan 17, 2014 - 01:05
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Windows 7, GIT commit: d65c722

1) Edit / Preferences / Shortcuts
2) click a command
3) Define
4) type a shortcut
5) press Clear

Result: apparently, nothing, although you find out if you then hit "Replace" that it actually did clear your entry.


Comments

Culprit may be the commented line in ...mscore/shortcutcapturedialog.cpp:

void ShortcutCaptureDialog::clearClicked()
{
//nshrtLabel->setText(tr("Undefined"));
key = 0;
}

currently I try to build with the line de-commented