Browse Source

Leave Add Module popup metadata window open after mouse leaves module

section
tags/v0.5.1
Andrew Belt 6 years ago
parent
commit
a2d815db84
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      src/app/AddModuleWindow.cpp

+ 1
- 5
src/app/AddModuleWindow.cpp View File

@@ -70,7 +70,7 @@ struct MetadataMenu : ListMenu {

// Plugin metadata
if (!model->plugin->website.empty()) {
addChild(construct<UrlItem>(&MenuEntry::text, "Website", &UrlItem::url, model->plugin->path));
addChild(construct<UrlItem>(&MenuEntry::text, "Website", &UrlItem::url, model->plugin->website));
}
if (!model->plugin->manual.empty()) {
addChild(construct<UrlItem>(&MenuEntry::text, "Manual", &UrlItem::url, model->plugin->manual));
@@ -120,10 +120,6 @@ struct ModelItem : MenuItem {
sModel = model;
MenuItem::onMouseEnter(e);
}
void onMouseLeave(EventMouseLeave &e) override {
sModel = NULL;
MenuItem::onMouseLeave(e);
}
};




Loading…
Cancel
Save