Multiple selection in Menu
This commit is contained in:
+2
-2
@@ -113,8 +113,8 @@ void MenuBody::paint(BitmapBuffer * dc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Menu * menu = getParentMenu();
|
Menu * menu = getParentMenu();
|
||||||
if (menu->multiple && line.isChecked && line.isChecked()) {
|
if (menu->multiple && line.isChecked) {
|
||||||
theme->drawCheckBox(dc, 1, width() - 35, i * MENUS_LINE_HEIGHT + (MENUS_LINE_HEIGHT - 20) / 2, 0);
|
theme->drawCheckBox(dc, line.isChecked(), width() - 35, i * MENUS_LINE_HEIGHT + (MENUS_LINE_HEIGHT - 20) / 2, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user