[studio] Make FileInfo free resources on close
All checks were successful
Build / build (push) Successful in 1m15s
All checks were successful
Build / build (push) Successful in 1m15s
This commit is contained in:
@@ -61,6 +61,8 @@ void FileInfo::draw(Context &sctx) noexcept {
|
||||
break;
|
||||
case ig::PopupResponse::OK:
|
||||
response.emit(r);
|
||||
m_fileInfo.reset();
|
||||
m_filePath = ox::String{};
|
||||
close();
|
||||
break;
|
||||
case ig::PopupResponse::Cancel:
|
||||
|
||||
Reference in New Issue
Block a user