impr: Don't draw recents window if there are none
This commit is contained in:
parent
14f728ab76
commit
331716dd48
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user