improve help implementation
This commit is contained in:
1 parent
2dcc63875d
commit
9ef24e3a9e
10 files changed
+52
-26
No files matched your search
@@ -1287,7 +1287,8 @@ void CityDlg::mousePressEvent(QMouseEvent *event)
|
||||
int iix = imix[static_cast<std::size_t>(i)];
|
||||
if (iix >= 0) {
|
||||
if (shift) {
|
||||
Help::showNewContent(windowModeMakePersistent(windowMode()), Help::LinkCategory::Imp, iix);
|
||||
if (auto *dlg = Term::mainScreenHelpDlg())
|
||||
dlg->showNewContent(windowModeMakePersistent(windowMode()), Help::LinkCategory::Imp, iix);
|
||||
} else if (IsoEngine::clientMode < scContact) {
|
||||
if (auto *dlg = Term::mainScreenMessgExDlg()) {
|
||||
dlg->iconKind = MessgEx::MessageIconKind::Imp;
|
||||
|
||||
Reference in new issue
Block a user