• LACROIX Romain's avatar
    Bugfix: to support multiple menu bars, the callback lambda in... · a1e6cb61
    LACROIX Romain authored
    Bugfix: to support multiple menu bars, the callback lambda in dtkWidgetsMenuBarContainer::switchToRoot() must not be static. Otherwise, the same callback for all menubars will only be instantiated once, and it will only capture the container instance of the first menu bar, and it will only work for first menu bar calling this function.
    
    Fixes #68
    a1e6cb61
dtkWidgetsMenuBar.cpp 29.9 KB