mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
impr: Don't draw recents window if there are none
This commit is contained in:
@@ -170,6 +170,9 @@ namespace hex::plugin::builtin::recent {
|
||||
|
||||
|
||||
void draw() {
|
||||
if (s_recentEntries.empty())
|
||||
return;
|
||||
|
||||
ImGuiExt::BeginSubWindow("hex.builtin.welcome.start.recent"_lang, ImVec2(), ImGuiChildFlags_AutoResizeX);
|
||||
{
|
||||
if (!s_recentEntriesUpdating) {
|
||||
|
||||
Reference in New Issue
Block a user