Adds handling to winVolume's _BuildFileName so if it's a filename-less filename(has only extension but no name) then we process the filename string correctly

Adds logic so when trying to do a path copy, if it's not a valid source filename, we merely fail the copy, rather than crashing due to a nullref
Makes guiPopUpCtrlEx respect the mActive flag so the mouse cannot interact with it if it's inactive
This commit is contained in:
Areloch 2022-07-24 13:12:46 -05:00
parent 0df6d7fed9
commit dbf60a95a2
3 changed files with 10 additions and 1 deletions

View file

@ -1386,6 +1386,9 @@ bool GuiPopUpMenuCtrlEx::onKeyDown(const GuiEvent &event)
//------------------------------------------------------------------------------
void GuiPopUpMenuCtrlEx::onAction()
{
if (!mActive)
return;
GuiControl *canCtrl = getParent();
addChildren();