Skip to content

Commit

Permalink
temp debugging for which section is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhoving committed Nov 4, 2023
1 parent ecae073 commit 0d5bca3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,10 @@ void Menu::exec() {
gmenu2x->s->clearClipRect();

if (!sectionLinks()->size()) {
MessageBox mb(gmenu2x, gmenu2x->tr["This section is empty"]);
//MessageBox mb(gmenu2x, gmenu2x->tr["This section is empty"]);

const auto selectionName = selSectionName() + std::string(" section is empty");
MessageBox mb(gmenu2x, selectionName);
mb.setAutoHide(1);
mb.setBgAlpha(0);
mb.exec();
Expand Down

0 comments on commit 0d5bca3

Please sign in to comment.