Fixed gui editor drag and drop behavior for image, shape, and sound

Ensure BitmapFile is given a proper default
This commit is contained in:
JeffR 2025-05-30 20:21:13 -05:00
parent 5397c168bc
commit 0e6c33f78a
7 changed files with 29 additions and 7 deletions

View file

@ -132,6 +132,7 @@ GuiBitmapButtonCtrl::GuiBitmapButtonCtrl()
mBitmapName = StringTable->EmptyString();
mBitmap = NULL;
mBitmapAsset.registerRefreshNotify(this);
mBitmapFile = String::EmptyString;
}
//-----------------------------------------------------------------------------