Gui: Do not show overlay panels in Start

This commit is contained in:
Kacper Donat
2024-08-03 17:15:03 +02:00
committed by Chris Hennes
parent 5b174a048e
commit 082b5edf29
10 changed files with 66 additions and 16 deletions

View File

@@ -392,6 +392,15 @@ void StartView::newArchFile() const
postStart(PostStartBehavior::doNotSwitchWorkbench);
}
bool StartView::onHasMsg(const char* pMsg) const
{
if (strcmp("AllowsOverlayOnHover", pMsg) == 0) {
return false;
}
return MDIView::onHasMsg(pMsg);
}
void StartView::postStart(PostStartBehavior behavior) const
{
auto hGrp = App::GetApplication().GetParameterGroupByPath(

View File

@@ -70,6 +70,8 @@ public:
void newDraftFile() const;
void newArchFile() const;
bool onHasMsg(const char* pMsg) const override;
public:
enum class PostStartBehavior
{