mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Config wizard can open help from "?"
This commit is contained in:
@@ -66,6 +66,13 @@ namespace BlackGui
|
||||
return wizard && wizard->lastStepSkipped();
|
||||
}
|
||||
|
||||
bool CConfigurationWizard::event(QEvent *event)
|
||||
{
|
||||
if (event->type() != QEvent::EnterWhatsThisMode) { return QDialog::event(event); }
|
||||
QTimer::singleShot(0, this, [ = ] { sGui->showHelp(this); });
|
||||
return true;
|
||||
}
|
||||
|
||||
void CConfigurationWizard::wizardCurrentIdChanged(int id)
|
||||
{
|
||||
const int previousId = m_previousId;
|
||||
|
||||
Reference in New Issue
Block a user